tarfeef101 d5969df498 this is a hellhole. my code is pure trash | 6 년 전 | |
---|---|---|
.. | ||
__pycache__ | 6 년 전 | |
3input.txt | 6 년 전 | |
README.md | 6 년 전 | |
cleanup.sh | 6 년 전 | |
nEmulator-linux386 | 6 년 전 | |
packet.java | 6 년 전 | |
packet.py | 6 년 전 | |
receiver.py | 6 년 전 | |
receiver.sh | 6 년 전 | |
sender.py | 6 년 전 | |
sender.sh | 6 년 전 |
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