Skip to content

A link simulator for the first networking project (LINGI1341)

License

Notifications You must be signed in to change notification settings

francoismichel/LINGI1341-linksim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LINGI1341-linksim

A link simulator for the first networking project (LINGI1341)

This program will proxy UDP traffic (datagrams of max 520 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 -h server\_address -p proxy\_port

Server machine:

./link\_sim -p proxy\_port -P server_port &
./receiver -h :: -p server_port

The program only alter the forward direction of the data transfert, traffic from the receiver to the sender will be left untouched.

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

Feel free to hack it and submit pull request for bug fixes or new features, e.g. to also affect reverse traffic (e.g. with an optional command-line switch)

About

A link simulator for the first networking project (LINGI1341)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.1%
  • Makefile 0.9%