Skip to content
A link simulator for the first networking project (LINGI1341)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


A link simulator for the first networking project (LINGI1341)

This program will proxy UDP traffic (datagrams of max 528 bytes), between two hosts, simulating the behavior of a lossy link.

Using it is a simple as choosing two UDP ports, one for the proxy, and one for the receiver of the protocol.

Client machine:

./sender server_address proxy_port

Server machine:

./link_sim -p proxy_port -P server_port &
./receiver :: server_port

You can control the direction (i.e. forward, reverse or both ways) of the traffic which is affected by the program.

Use this to test your programs in the events of losses, delays, truncation, ...

Feel free to hack it and submit pull request for bug fixes, ...

You can’t perform that action at this time.