[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Stopping traffic sources
> From: "Thomas Kuborn" <[email protected]>
>
> Hey all,
>
> Stopping a udp/cbr source with $ns at 3.1 "$cbr0 stop" works ...
However
> stopping a tcp/cbr source dont ... How can a tcp source be stopped ?
>
Hi Thomas,
Good to "see" you again ;-)
I did come up with this question before. I think the problem is that TCP
buffers the application data, and adapt to a link congestion, so even if
you stop the application traffic, TCP agent still have some data in the
buffer to send.
If you run your simmulation in a too short time, you can not see the TCP
traffic stopping. Try running your simmulation longer, and remember to
stop your TCP traffic early enough, let say 5 second before you stop
your simulation.
G'luck