Logo
 members research publications events news anl members


Image

Quote

Downloads

All source codes posted for download from this page are for research purpose only. Neither the author(s) nor the lab and its affiliated department or school assume any explicit and/or implicit warrantee or guarantee of the usability, reliability, and safety of the source codes in any commercial or non-commercial settings. All codes are provided as is, and should be used at the user's own risk.

NS-2 Modules of TCP Jersey
  • TCP-Jersey sender side module with timestamp based achievable rate estimation (ARE). tcp-nj.cc, tcp-nj.h


  • TCP-Jersey router side module, the congestion warning (CW) queue. This is the simplest CW queue derived from the tail-dropping queue. Same can be achieved by properly configuring the RED/ECN queue. drop-tail.cc, drop-tail.h


  • Lines in defaults.txt should be added into ns-defaults.tcl


  • Remember to add tcp-nj.o into Makefile.in before rebuilding the ns.


  • Notes: These modules are implemented based on the NS-2 version 2.26b. Compatibilities with other versions of NS-2 are not tested. Please direct all questions to kx2@njit.edu

Sample Simulation Scripts and Results
  • A NS-2 simulation script running FTP over a link with random packet losses. sample.tcl


  • A shell script drives the sample simulation through different types of TCP variants and random packet loss rates. sample.sh


  • A Gnuplot script plots the throughput vs. packet loss rate curves. sample.gpi


  • The plot of throughput vs. random packet loss rate. sample.eps To see it, click here.

Related Papers



Copyright ©  Advanced Networking Laboratory 2004-2010, All Rights Reserved.