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
http://www.nsnam.com/2011/12/creating-new-agent-in-network-simulator.html

Pradeep Kumar TS

Comments

  1. can u tell anything about implementing ELN in NS-2

    ReplyDelete

Post a Comment

Popular Posts