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

Re: [ns] why does the TCP source do no send data?



On Mon, 16 Apr 2001, myzhai wrote:

>   I try to simulate a TCP connection, which is as following: a
> standard TCP agent attached with a FTP, from link(n0->n1) and
> start at 0.0 second. But when the script is running in 10s
> interval,it only sends two packetes, on at 0.003s and another at
> 6.101s. Who can tell me the reason about the above result?

You probably haven't connected TCP source and sink properly, and
you're seeing exponential backoff. If you ran the script for longer,
you'd see longer intervals.

Compare your code with some examples.

L.

<L.Wood@surrey.ac.uk>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>