Project II (Task I): Transmission Control Protocol (TCP) This TCP implementation uses congestion control and ss Threshold to model the transmission control that happens in TCP over internet connections.
Sample Congestion window graph.
mininet VM. Can be built from source or a pre-built Mininet VM can be downloaded at http://mininet.org/download/.
Use the make file in the src
directory to build the executable files.
mininet@mininet-vm:~$ make
Start the mininet servers ith different parameters for bandwidth, delay and loss proportions.
sudo mn --link tc,bw=10,delay=10ms,loss=2
mininet> xterm h1 h2
rdt_receiver <Port num i.e. 60001> <rcv_file_name>
rdt_sender 10.0.0.1 <Same Port num as receiver i.e. 60001> <send_file_name.bin>
The Grapher.py script uses the CND.csv file generated by the rdt_sender file.
cksum <rcv_file_name> <send_file_name.bin>
python3 Grapher.py