Re: [ns] problem when adding a new routing protocol to NS2:please help

2008-12-18 Thread Waleed Tuffaha
Hell Nadine, I think you have an error in your Tcl simulation script. When you create the wireless nodes you have to create them in an array called node_ because the traffic generator (that generated the cbr-50-10-4-512 file ) expect the nodes to be created in that array. You can use this code

[ns] problem when adding a new routing protocol to NS2:please help

2008-12-17 Thread Nadine Chen
Hi all. I added a new routing protocol to NS2. I made the appropriate changes to tcl/lib/ns-default.tcl, ns-packet.tcl,ns-lib.tcl , common/paquet.h, queue/priqueue.cc and trace:cmu-trace.h and .cc .i recompiled ns2 and I had an error free compilation. I wanted to test my protocol: I changed