Overview
Features
Download
Documentation
Community
Add-Ons & Services

Connection remains in TIME_WAIT state

A general discussion forum.

Connection remains in TIME_WAIT state

Postby pocouser » 22 Aug 2008, 10:47

hi
Even after closing the connection by calling shutdown() followed by close() the connection remains in TIME_WAIT state for around 45-50 seconds.
I am also calling setKeepAlive and setLinger on each connection.
Is there any solution to this? am i missing anything?
Thanks
pocouser
 
Posts: 6
Joined: 13 Aug 2008, 09:32

Re: Connection remains in TIME_WAIT state

Postby alex » 22 Aug 2008, 11:33

> Is there any solution to this?

There may be no problem to start with. See [url=http://www.developerweb.net/forum/showthread.php?t=2941|TIME_WAIT] and http://www.developerweb.net/forum/showthread.php?t=2982]SO_LINGER[/url

HTH

Alex
alex
 
Posts: 1130
Joined: 11 Jul 2006, 16:27
Location: United_States


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest