[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ns] Stop a CBR Traffic generator ...



No No i'm using a CBR traffic generator in NS-2.1b5
but the problem is that generate packet after End Time of Simulation ...
Pardon I know the problem ... the problem stay in delay link between traffic
generator and Optical Queue ... A question ... it's possible that the delay
link is much fast <1.0 us ????? Because i've a links with bandwidth = 10 GB
and delay in link waiting me much time !!!

Thanks in Advanced

----- Original Message -----
From: Lloyd Wood <[email protected]>
To: Vincenzo Mazzotta <[email protected]>
Cc: Mailing List NS-2 ISI <[email protected]>
Sent: Monday, September 11, 2000 6:40 PM
Subject: Re: [ns] Stop a CBR Traffic generator ...


> On Mon, 11 Sep 2000, Vincenzo Mazzotta wrote:
>
> > Hi to all ... somebody know the command to stop a CBR traffic generator
???
> > Don't go ns at 2.0 "$cbr stop" ...
>
> well, you could - if you were using the older deprecated CBR agent,
> rather than the newer Application/Traffic/CBR.
>
> in ~ns/tcl/lib/ns-source.tcl:
>
> Agent/CBR/UDP instproc stop {} {
>         $self instvar trafgen_
>         $trafgen_ stop
> }
>
> the odd thing is that there doesn't appear to be an equivalent to
> this in the rather less well-fleshed-out Application/Traffic/CBR.
>
> puzzled,
>
> L.
>
> <[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>
>