[an error occurred while processing this directive]
In this exercise, you will set up for Programming Assignment 2.
To set up for doing PA 2 you need to transfer a jar file from my public/cs5651 directory to your own directory, then unjar it. After logging in to a UNIX machine, you can transfer the jar file with the command
cp ~gshute/public/cs5651/pa2.jar .You can then unjar the jar file with the command
jar xf pa2.jarThis will create a new subdirectory named "pa2". It contains all of the files that you need.
After transferring and unjarring the jar file, you can check it out. First, cd into the pa2 directory. Then give the command java RDTTest AlternatingBitProtocol. You should see the results of running a simulation test with the alternating bit reliable data transfer protocol.
When you have implemented your own protocol class, you can run the RDTTest program with your class name specified in place of "AlternatingBitProtocol". Its output should be similar in form to the output for the alternating bit protocol, but you should see a more efficient transfer of data.
Turn in a printout of the simulation run. Your printout should be marked up to indicate the parts of the run that are involved with segment (packet) 0, 1, and so on. You can ignore late acknowledgements. Then you just need to mark where the sender starts on a new segment.
[an error occurred while processing this directive]