[ns] RTT(please help me)

2008-05-01 Thread d d
Hello, I am new in ns. I simulate a simple topology with tcl. I want to calculate rtt of each packet that send with one of it's node, But I don't know how? Could you please help me? Should I use c++ or there is another way? Thank yo - Be a better

Re: [ns] RTT(please help me)

2008-05-01 Thread Arturo Servin
You could get the rtt by c++ and by tcl. Tcl might be easier. This is an example in tcl where $tcp0 is a tcp agent. set rtt [$tcp0 set rtt_] Regards, -as On 1 May 2008, at 17:59, d d wrote: Hello, I am new in ns. I simulate a simple topology with tcl. I want to