On 04/23/10 05:53 PM, Nils Goroll wrote:

After the first connection is closed, shouldn't the TCP state be kept for 60
seconds in TIME_WAIT? If yes, how can it be that the same (randomly chosen) port
is picked again after roughly 10 seconds?


Only if the connection state in the machine is TIME-WAIT.  Note
that only one side of a TCP connection remains in TIME-WAIT state
after the connection is closed.  The other side's state info is
freed after the connection is closed.  It is the side initiating
the close sequence, i.e. the side sending the FIN first, which
stays in TIME-WAIT.  In the trace provided, it is the server side
which initiates the close sequence.  Hence there is no state
left in the Solaris side.


--

                                                K. Poon.
                                                [email protected]

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to