tarfeef101 d5969df498 this is a hellhole. my code is pure trash | 6 anni fa | |
---|---|---|
.. | ||
__pycache__ | 6 anni fa | |
3input.txt | 6 anni fa | |
README.md | 6 anni fa | |
cleanup.sh | 6 anni fa | |
nEmulator-linux386 | 6 anni fa | |
packet.java | 6 anni fa | |
packet.py | 6 anni fa | |
receiver.py | 6 anni fa | |
receiver.sh | 6 anni fa | |
sender.py | 6 anni fa | |
sender.sh | 6 anni fa |
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.
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.
Receiver: host address, host port, receiver's port, and filename to be saved
Tareef Dedhar - All work