[ns] rtmodel-at $now down seems to do nothing

2012-03-27 Thread Hassan Habibi
 I am going to make a link (or at least a node) go down at runtimewithin a procedure: $ns rtmodel-at $now down $n0 $n1 Actually the code is executing, but nothing seems to happen and no error will be produced!!! I am not sure whether the problem is due to calling the rtmodel inside a proce

[ns] How to shut down a link or node

2012-03-27 Thread Hassan Habibi
 I am going to make a link (or at least a node) go down at runtimewithin a procedure: $ns rtmodel-at $now down $n0 $n1 Actually the code is executing, but nothing seems to happen and no error will be produced!!! I am not sure whether the problem is due to calling the rtmodel inside a proc