[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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/>