[ns] About cbrgen.tcl
junw24 at hotmail.com
Fri May 21 10:48:40 PDT 2004
Thanks a lot.
But my understanding is that "rng uniform" control the starting time of a
connection, as the following lines says:
set stime [$rng uniform 0.0 180.0]
puts "#\n# $src connecting to $dst at time $stime\n#"
Does it also control the "stop time" of a connection? For example, if I want
all the connection stop at 200 seconds. What should I do?
>From: "karthik srinivas" <f2000076 at rediffmail.com>
>Reply-To: "karthik srinivas" <f2000076 at rediffmail.com>
>To: "Jack Wang" <junw24 at hotmail.com>
>Subject: Re: [ns] About cbrgen.tcl
>Date: 21 May 2004 05:17:21 -0000
>from what u r saying i think u can do this...first generate a cbr script
>for first 200 seconds by changing the parameters in the cbrgen.tcl file for
>the rng-uniform tim for cbr and then generate one more script for next 200
>sceonds...and include both these files in ur simulation script....think it
>On Fri, 21 May 2004 Jack Wang wrote :
> >Hi all,
> >I am simulationg Ad Hoc network and using cbrgen.tcl to generate data
>traffic. If the simulation time is 500 seconds, the data packets will be
>generated althrough the 500 seconds.
> >Is possible to let cbrgen.tcl generate data packet for the first 200
>seconds, then stop generating data packets for 100 seconds, then generate
>data packet for the rest 200 seconds?
> >Thanks a lot.
> >The new MSN 8: advanced junk mail protection and 2 months FREE*
Add photos to your messages with MSN 8. Get 2 months FREE*.
More information about the Ns-users