[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] How to get the link's delay?
On Fri, 1 Jun 2001, sbchen wrote:
> I have setup a duplex link by
> $ns duplex-link $n0 $n1 1.5Mb 10ms DropTail
set link [$ns duplex-link $n0 $n1 1.5Mb 10ms DropTail]
surely...
> Now I try to get the delay value by
> set link [$ns link $n0 $n1]
> set d [$link set delay_]
> puts "delay = $d"
> But ns can't read "delay_". I think "$ns link $n0 $n1" returns the
> link_($n0:$n1) and the "delay_" has been binded. But why here it
> can not be read?
<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>