[ns] $link Head

Saket Varma svarma@cedar.Buffalo.EDU
Wed Apr 3 08:50:13 2002


On Tue, 2 Apr 2002, Shyam Subramanian wrote:

> Hi,
>
> i am new to ns, i was going thro the ns manual chapter 6 on the
> link:Simple links chapter. I have a few doubts in that
>
> The command $link head returns the head to the link, but what does
> that link stand for is it the name of the link or a handler, in any
> case how do u get it or set it.

set link_ [$ns_ link $node0_ $node1_] will return the handle for the link.

[$link_ head] will be the head of the link..


>
> Any help is appriciated,
>
> Shyam
>