Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: TCP Socket and TIME_WAIT

by dave_the_m (Parson)
on Aug 28, 2012 at 02:04 UTC ( #990110=note: print w/ replies, xml ) Need Help??


in reply to TCP Socket and TIME_WAIT

TIME_WAIT is an integral part of the TCP protocol state, and the socket will always enter TIME_WAIT for a period in the the host which first closed the socket.

See the TCP state diagram

Dave.


Comment on Re: TCP Socket and TIME_WAIT
Replies are listed 'Oldest First'.
Re^2: TCP Socket and TIME_WAIT
by Deus Ex (Beadle) on Aug 28, 2012 at 06:36 UTC

    Sure, I know, but it wasn't clear to me how to achieve an active close, instead a passive one for which, on that system, the socket would last on TIME_WAIT for some time.

    Thanks though!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990110]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2015-07-07 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (91 votes), past polls