This submission is an implementation of a reliable data transfer protocol with Go-Back-N on top of UDP. The client sends a file to recieve and store on the server (as recieved.jpg)
Submission.pdf
application.py - Python script to invoke either the server or the client
udp_server.py - The server code
udp_client.py - The client code
iceland_safiqul.jpg - The test image to transfer over the network
README.md
(recieved.jpg) - This jpg file will be created on the server side when the test image is recieved
"python3 application.py -s -i 10.0.1.2 -p 8080 -d 1800"
-s invokes server mode
-i is the server ip
-p is the server port
-d is the recieved packet you want to manually discard (optional)
"python3 application.py -c -i 10.0.1.2 -p 8080 -f iceland_safiqul.jpg -w 3
-c invokes client mode
-i is the server ip
-p is the server port
-f is the file you want to send (optional)
-w is the sliding window (optional, default 3)
s356213 - Sigurd Omnes