tarfeef101 d5969df498 this is a hellhole. my code is pure trash před 6 roky
..
__pycache__ 44977097cc i swear it worked once před 6 roky
3input.txt 13dd25a43f added first try for a2. a day late. yay před 6 roky
README.md 4bfc583cac readmes are good před 6 roky
cleanup.sh 44977097cc i swear it worked once před 6 roky
nEmulator-linux386 44977097cc i swear it worked once před 6 roky
packet.java d5969df498 this is a hellhole. my code is pure trash před 6 roky
packet.py 44977097cc i swear it worked once před 6 roky
receiver.py baa35fb386 i didn't remember how to bind lol před 6 roky
receiver.sh 548cc9255c added scripts to run files for ease of use před 6 roky
sender.py 719555c03a didn't use that var před 6 roky
sender.sh 548cc9255c added scripts to run files for ease of use před 6 roky

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