Viewing 0 reply threads
You must be logged in to reply to this topic.
If you want to implement it at C++ level ns2 code, then you may use array or structure in the class file corresponding to the node
For example in “node.cc” and “node.h” (if database only). Or you may implement it in the routing agent code itself. (ex : aodv.cc and aodv.h). But, this will require recompilation of ns2.
Even you can do the same thing inside the tcl part of simulation script also. This will require any recompilation of ns2.
You must be logged in to reply to this topic.
Discuss Through WhatsApp