Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: TCP Socket and TIME_WAIT

by dave_the_m (Prior)
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.

Replies are listed 'Best First'.
Re^2: TCP Socket and TIME_WAIT
by Deus Ex (Scribe) 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?
[stevieb]: went for a long hike in the mountains today while the weather is hovering just about freezing. I think tomorrow I'm going to huddle up and do a good read through perlguts

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2017-01-22 02:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (186 votes). Check out past polls.