How to create an Agent in NS2 (Network Simulator 2)

Adding a new agent in NS2 uses C++ to be coded. Unlike conventional C++, NS2 uses TclCL and OTCL. There are 6 TclCL classes that are needed to develop any module in NS2.
  • Tcl
  • TclClass
  • EmbeddedTcl
  • TclObject
  • TclCommand

A new module in NS2 (an agent, a packet, a queue) can be created using the above classes. for creating a simple agent, refer the post given below

Pradeep Kumar TS


Post a Comment

Popular Posts