I got a question during my office hour regarding hw2 (you might want to
check back when you start working on hw2). In hw2, you are asked to plot
size of the TCP congestion window using xgraph.
A student asked me how you should format your data and plot it using
xgraph. You need to write a tcl script to tell ns-2 output the data in
the following format.
[time1] [congestion window size at time1]
[time2] [congestion window size at time2]
...
For example,
0 1
0.005 1
0.010 1
0.015 2
0.020 2
...
|