[ns] Location aware protocols in NS

Shibdas Bandyopadhyay shibdas at gmail.com
Fri Mar 10 08:59:25 PST 2006


Hi,
    I am using ns-2.29 and currently implementating a new protocol which
depends on the location information of the nodes. How can I get the location
of the attached node from the agent code.  Even if I keep  the location
information in the agent information ( say by keeping it in routing table),
how to set the corresponding entries. I have made the variables accessible
to the tcl script using bind function but how can I access the routing agent
corresponding to a particular node? It would be better for me if I get the
x-cordinates and y-coordinates of the grid topology assigned to the node
from the routing agent.


Thanks
shibdas

--
===================
Shibdas Bandyopadhyay
Second Year Post graduate student,
Department of Computer Science
Indian Statistical Institute, Kolkata

http://snipurl.com/shibdas


More information about the Ns-users mailing list