[ns] about TCP Reno implementation in ns2.30

2007-06-19 Thread Wang Ivan
There is a variable called bug_fix_ in TcpAgent which is used to prevent multipe entrance of fast retransmit. Its default value is true. I wonder whether real TCP Reno implementation uses this strategy. I remember it's not part of the Reno algorithm when I learn TCP/IP.

[ns] Where is the interface between Agent and Node?

2007-05-25 Thread Wang Ivan
I traced the C++ source code for Agents and found that packets sent by an agent is directly passed to the target agent ( target_-recv(p,h) ) rather than to the lower layer. For real TCP/IP, packets should be passed down to the physical layer, sent to the target, and then passed up to the upper