The project needs to use the dummynet, which is generally used to control traffic, bandwidth, latency, packet loss, nonsense, and go straight to the installation process.
1. Download the Dummynet source code (source code)
http://info.iet.unipi.it/~luigi/dummynet/#3d2a
Click on the left availability, click the source code download
2. After downloading the unzip, in the Readme actually has the Complete installation guide, here I copy and translate
Note that this is directly using the already build EXE file, if you want to build your own code, you can see the readme below the build
Windows:
A pre-built version is in Binary/and binary64/directories. Both 32-bit and 64-bit are applicable
INSTALL the NDIS DRIVER
-Open the configuration panel for the net card in use Control Panel, opens the Network and Sharing Center
(Right click on the icon on the SYSTRAY, or go to
Control Panel, network and select one card) on the NIC you are using right-click "Properties-" install-"service-" add
-click on Properties->install->service->add
-click on ' Driver Disk ' and select ' Netipfw.inf ' in this folder to unpack the directory of source code you downloaded, open binary folder, add Netipfw.inf, and then I want you to choose IPFW.
-select ' Ipfw+dummynet ' which is the only service you should see. sys, also in this binary directory, and then make sure it's OK
-click Accept on the warnings for the installation of an unsigned
Driver (roughly twice per existing network card)
Now your is ready for use the emulator. To configure it, open a ' cmd ' finally you can test the Ipfw.exe under CMD or use the Test.bat test
Window (REMEMBER to run it as Administrator)
And you can use the IPFW command on the command line.
Otherwise Click on the ' Testme.bat ' which are a batch program that
Runs various tests.