Hi,I want to do some simulation about qos routing,and in c++ I need to know the 
link bandwidth and link delay,which is set in tcl topology script.
For example,

set n0 [$ns node]
set n1 [$ns node]
set n2 [$ns node]
set n3 [$ns node]
$ns duplex-link $n0 $n1 1.5Mb 10ms DropTail
$ns duplex-link $n1 $n2 1.6Mb 10ms DropTail
$ns duplex-link $n1 $n3 1.7Mb 10ms DropTail

my question is that in c++ ,how to get the bandwidth and delay of 
link{(n0,n1),(n1,n2),(n1,n3)}.

Any advice will be appriciated.

Best wishes!

                        Sincerely
                        Gang Wang

Reply via email to