README.md 1.2 KB

CS 456 A2 - Go-Back-N-ARQ

This assignment consists of 2 python applications: sender.sh and receiver.sh. These are interfaces for the respective files.py. There is also the provided packet.py class which was provided, and is used for these apps to work. The cleanup.sh is simply there for convenience when I was testing. There are also the provided test files and emulator program.

Build Information

  • This was tested on linux.student.cs.uwaterloo.ca, so the ubuntu1604 servers maintained by the CS faculty at uWaterloo.
  • Testing included using the same server (002) for all of the emulator, sender, and receiver, as well as all 3 simultaneously.
  • The python version used was 3.5.2

Deployment

To run either the sender or the receiver, simply type "./[sender/receiver].sh" followed by all the arguments that need to be provided. Of course, the emulator should be run as well, in accordance with the provided spec. The arguments for the sender and receiver follow spec as well, but will be listed below for convenience.

  • Sender: host address, host port, sender's port, and filename to be sent
  • Receiver: host address, host port, receiver's port, and filename to be saved

    Authors

  • Tareef Dedhar - All work