Tareef 4bfc583cac readmes are good 6 years ago
..
__pycache__ 44977097cc i swear it worked once 6 years ago
3input.txt 13dd25a43f added first try for a2. a day late. yay 6 years ago
README.md 4bfc583cac readmes are good 6 years ago
cleanup.sh 44977097cc i swear it worked once 6 years ago
nEmulator-linux386 44977097cc i swear it worked once 6 years ago
packet.py 44977097cc i swear it worked once 6 years ago
receiver.py baa35fb386 i didn't remember how to bind lol 6 years ago
receiver.sh 548cc9255c added scripts to run files for ease of use 6 years ago
sender.py 719555c03a didn't use that var 6 years ago
sender.sh 548cc9255c added scripts to run files for ease of use 6 years ago

README.md

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