[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in simplex-link?
Neither simplex-link nor duplex-link are methods that
return anything meaningful. The only reliable way to access
a queue (currently) is:
% $ns duplex-link $n1 $n2 $bw $delay $qType
% [$ns link $n1 $n2] queue
% [$ns link $n2 $n1] queue
I will update the documentation to reflect this usage,
Kannan
> From: Sara Trabucchi <[email protected]>
> Date: Mon, 20 Apr 1998 17:45:17 +0200
> Hi,
> After creating a simplex-link I can't obtain a reference to the handle
> for the queue . These are the commands I gave:
> set lnk [$ns simplex-link $n1 $n2 1.5Mb 10 ms DropTail]
> puts [$lnk queue]
>
> I received "Invalid command name". On the contrary if I write:
>
> set lnk [$ns duplex-link $n1 $n2 1.5Mb 10 ms DropTail]
> puts [$lnk queue]
>
> It' OK.
> Am I doing something wrong, or is there a bug in simplex-link ?
> Could anybody help me?
> Thanks in advance
> Sara
>
--
[email protected]
http://www.isi.edu/~kannan