Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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
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 browsing the Monastery: (18)
As of 2014-12-18 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (48 votes), past polls