[ns] RTT(please help me)

Arturo Servin aservin at cs.york.ac.uk
Thu May 1 13:01:27 PDT 2008


	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  
> 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 friend, newshound, and know-it-all with Yahoo! Mobile.   
> Try it now.



More information about the Ns-users mailing list