Readme of RTCP Code
This is the NS-2 source code for RTCP. The RTCP serves as a benchmark for upper bound TCP performance in mobile ad hoc network. For Detailed protocol specification please refer to the following paper:

Zhenghua Fu, Xiaoqiao Meng, and Songwu Lu, "How Bad TCP can Perform in Mobile Ad-Hoc Networks," IEEE ISCC (IEEE Symposium on Computers and Computers) 2002, Italy, July 2002

The NS-2 code is for NS-2.1b7a, the package include the following files
  • tcp.cc, tcp.h (main tcp code)
  • tcp-sink.cc tcp-sink.h (the code at the receiver side)
  • tcp-newreno.cc (the NewReno extension)
  • main.tcl, main.comm (the NS-2 simulation scripts for running the simulations.)
Extract the source codes to your main NS-2 directory, re-make your source files, and then run the simulation scripts. Some of the lines in the scripts may need to configured to fit in your environment/directory.
WiNG