[ns] How to print the neighbors of a node

kiran nc kiran.nc2k2 at gmail.com
Tue Mar 3 01:54:26 PST 2009


Hi all,
          I am a newbie to NS-2. I want to know how to print the neighbors
of a particular node, through the TCL script. I have read in NS Manual that
the class Node has the component neighbor_ to store the list of neighbors.
Can anybody please tell me how to call this in TCL, so that the neighbors of
the nodes can be printed?
         Thanking you in Advance
Regards,
Kiran


More information about the Ns-users mailing list