Implement "sliding window" protocol
To help others to understand protocols, showing the operations of each protocol and comparisons between them in several situations were necessary. For stop-n-wait protocol, I could simulate it by changing some parameters of TCP. For the slow start, I used TCP itself, but sliding window was different. It was not possible to simulate it using TCP. However, I changed a little C++ codes in TCP and could simulate sliding window protocols. Followings are the changed codes and added codes.
2. Changes of existing library :
1) tcp.h
2) tcp-sink.h
3. Added file.
1) sliding.cc
2) sliding-sink.cc
4. Added files for Validation Test.
1) test-all-sliding-window
2) test-suite-sliding-window.tcl
3) sliding-normal.Z
: under "test-output-sliding-window" directory
4) sliding-loss.Z
: under "test-output-sliding-window" directory
5. Original TCP and TCP-SINK files.
1) tcp.cc
2) tcp-sink.cc
All of the examples written in tcl exist in /usr/src/mash/repository/vint/nam-1/edu