Realibale UDP protocol
To run the Application, first run make command to compile and create executable files of client and server program.
make
cd into Server directory and server executable file.
cd Server
./server_program [PORT] [Receive Window]
To execute server on PORT 20001 with window size of 20, run -
./server_program 20001 20
cd into Client directory and run the client executable file.
cd Client
./client [HOSTNAME] [PORT] [FILE NAME] [Receive Window] [Drop Probability] [Processing Delay]
To execute client on Hostmachine - burrow.soic.indiana.edu, running on PORT 20001, requesting file sample.txt with 0% drop probability and no processing delay.
./client burrow.soic.indiana.edu 20001 sample9.txt 20 0 0
To execute client on Hostmachine - burrow.soic.indiana.edu, running on PORT 20001, requesting file sample.txt with 10% drop probability and no processing delay
./client burrow.soic.indiana.edu 20001 sample9.txt 20 10 0
To execute client on Hostmachine - burrow.soic.indiana.edu, running on PORT 20001, requesting file sample.txt with 0% drop probability and processing delay
./client burrow.soic.indiana.edu 20001 sample9.txt 20 0 1