[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] assign a name to node...



Sure, you can.  Use the 'set' in your  tcl script  to set  any name your
prefer to a node.

Example,

set nodeA [$ns_ node 3.0.0]

Liqun

Sangjin Jeong wrote:

> Hello,
>
> I'm graduate student in Korea.
> I have a question about ns. While making a node in ns, can I assign a
> name to each node?
> ex) "node1" "node A" "ABC" etc.
> It seems that all nodes are automatically assigned a name with number.
>
> Thanks for your reading.
>
> --
>
> -------------------------------------------------------
> Sangjin Jeong
>
> High Speed Networking Lab.
> Information and Communications University
> P.O.Box 77. Yusong, Taejon
> Korea
> 305-600
>
> E-mail: [email protected]
> Tel   : +82-42-866-6186