Actually my topic title may be misleading. But I have question about timers in NS2.
For example I have function that sends a packet to arbitrary destination. Question is, is timers in ns2 equal to the calling function multiple time in TCL? To be more clear;
a is arbitrary number in tcl
$ns at 0.20 "[$node_($a) set ragent_] function"
$ns at 0.40 "[$node_($a) set ragent_] function"
$ns at 0.60 "[$node_($a) set ragent_] function"
$ns at 0.80 "[$node_($a) set ragent_] function"
$ns at 1.00 "[$node_($a) set ragent_] function"
Will this code be enough to sending packet at intervals of 0.2 sn.
Thanks in advance.