File Transfer without Errors


Your mission is to send files across a network connection without errors.  The network itself might have errors.  You must overcome these errors.


Points
Task
1
Can move a file from client to server.
1
Can move a large file using multiple packets.
1
Can cope with data corruption errors
1
Can cope with lost packets.
1
Can cope with short packets.
1
Uses ping-pong.
3
Uses go-back-n.
5
Uses selective repeat.
??
Uses your own protocol (MUST get prior approval).
-10%
per classday after Oct 11th
1
Works with binary as well as text data.
1
Prints stats about packet loss and corruption.


This program is worth a maximum of 13 points.
You MAY implement multiple protocols.