[ns] Loop of detach and attach

. . quarck at hotmail.com
Fri Apr 28 01:38:50 PDT 2006


Hello!

I want to detach and attach an agent to different nodes during a simulation 
with a constant interval or randomly. Can anyone give an example how to do 
that, either in oTCL or in c++. I would add an event randomly or constant 
during the simulation. I would like to to send, $ns at time "start move" 
from oTcl to start this movement.

Thanks in advance
Mathias




More information about the Ns-users mailing list