[ns] how to get the bandwidth into c++ code

dasari mallikarjuna dnmrao at yahoo.com
Sun May 17 09:02:38 PDT 2009



--- On Thu, 5/14/09, dasari mallikarjuna <dnmrao at yahoo.com> wrote:


From: dasari mallikarjuna <dnmrao at yahoo.com>
Subject: how to get the bandwidth into c++ code
To: ns-developers at ISI.EDU, ns-users at ISI.EDU
Date: Thursday, May 14, 2009, 11:24 PM






Hello every one,

I want to get the Bandwidth from tcl code into c++. 

after connecting two nodes by using the statement below

$ns duplex-link $n(0) $n(1) 512Mb 155ms DropTail

I want to extract the bandwidth (512Mb in this case) into c++ code.  Please help me.

regards,
D.N. Mallikarjuna Rao




      


More information about the Ns-users mailing list