[ns] Problem:First packet always get lost under TCP when error rate is bigger than 0.01

2009-02-27 Thread Tong Mao
;plotWindow $tcpSource $file" } $ns at 0.1 "plotWindow $tcp $winfile" $ns at 64.0 "finish" $ns run Best Regards, Tong Mao

[ns] Question about adding several Agent to one node? How to deal with their port?

2009-02-24 Thread Tong Mao
Hello everyone, I meet a problem when adding more than one Agent to a node, I think my method is wrong, Here is my question and OTcl script: My question is: (1) When attaching tcpb to Node n0, it will invoke "$n0 attach $tcpb", which have no value for "port", So the default port is 0, it will co

[ns] Problem when simulate the ARQ example in "Introduction to Network Simulator NS2"

2009-01-31 Thread Tong Mao
cedure "_o3" line 3) (Simulator link-arq line 3) invoked from within "$ns link-arq 3 $n0 $n1" (file "arq.tcl" line 42) I think maybe the definiation of ARQTx is wrong. Dose anybody know what's the problem? Thank you very much. Best Regar