suisboy
October 3rd, 2013, 12:46 PM
Hi Everyone,
I need help with my NS-2.34 code. I want to pass a message or signal to the .tcl from within my .cc file or even stop the traffic flow from within the .cc file.
here is the scenario, i am trying to modify the DropTail.cc file (that queues the packet and forward on), when its buffer or in this case packet limit is less then 30% available it send a message to the sample.tcl to stop the traffic flow. is it possible to stop the flow from the .cc file or send any kind of signal back to the .tcl from within the .cc file?
i would very much appreciate the help in this regard.
please help me on this.
Regards
I need help with my NS-2.34 code. I want to pass a message or signal to the .tcl from within my .cc file or even stop the traffic flow from within the .cc file.
here is the scenario, i am trying to modify the DropTail.cc file (that queues the packet and forward on), when its buffer or in this case packet limit is less then 30% available it send a message to the sample.tcl to stop the traffic flow. is it possible to stop the flow from the .cc file or send any kind of signal back to the .tcl from within the .cc file?
i would very much appreciate the help in this regard.
please help me on this.
Regards