[ns] How to disable a node in wireless simulation

2012-02-17 Thread rama krishna
Hello Sir/Madam, My idea is to to disable some mobile in the middle of the simulation. I found there is a method: $ns_ at 10.0 $node_(0) node-down. But every time when it running of the simulation time, an error popped out: ns: _o14 node-down: (_o19 cmd line 1) invoked from within _o19 cmd

[ns] Color packets in wireless simulation

2012-02-17 Thread rama krishna
Hello sir, I am working in NS2 wireless simulation. I want to know how to give colors to the packets in wireless simulation. I tried with $ns_ color 1 command but its not working. Please help me in this sir. With regards Ramakrishna

[ns] how to use an external c++code

2007-03-14 Thread rama krishna
hi inside the ns folder we have a folder called routealgo..we a c++ coding for dijikstra algo i would like to use that algo for routing... how can tat be done and also can i add some external c++ code into my tcl script...how to do that thank u ram