Re: [ns] Query regarding ns2 start/stop session!!

2011-02-14 Thread Prabhat .
You can keep an expression that suits your scenario in place of the value of time to start and stop. Consider the following example, nb_mn is no. of nodes set diff 0.02 for {set i 0} {$i < $nb_mn} {incr i} { $ns at [expr $traffic_start+$i*$diff] "$cbr_($i) start" $ns at [expr $traffic_st

[ns] Query regarding ns2 start/stop session!!

2011-02-09 Thread svetla verma
Hello, I am research student from King's college London and I have a query regarding start/stop of ns2 session. So here is my scenario: I have to start and stop 20 ftp sessions. As we know ns2 ftp session start format is $ns at 15.00 "$ftp7 start" and for stop $ns at 20.00 "$ftp7 s