Re: NT Service and Sockets
- From: "Steve" <some@xxxxxxxxxxxxx>
- Date: Fri, 20 Oct 2006 09:35:23 +0100
Thanks for this Dirk
"Dirk Claessens" <No@xxxxxxxxxxx> wrote in message
news:mn.94e47d6aecd57146.59994@xxxxxxxxxxxxxx
On 2006-10-18, Steve West (83.104.9.92) wrote in
message <eh5dfn$7uo$1$8302bc10@xxxxxxxxxxxxxxxx>
Now every so often, when it opens the connection it reports "Socket
already in use". No it bl**dy well isn't.
<mode = guessing>
When a connection is closed, the system puts the socket previously
associated with that connection in the so-called TIME_WAIT state for
approx. 120 seconds, in order to detect (and discard!) any trailing
packets which may still arrive if things went wrong during closure of the
connection.
IIRC, the ICS-components have a "re-use socket" option somewhere. If this
option is enabled, and a new connect is attempted within the foresaid time
period => bingo!
</mode>
--
Dirk.
No trees were killed in the creation of this message;
however, many electrons were terribly inconvenienced.
http://users.pandora.be/dirk.claessens2
.
- References:
- NT Service and Sockets
- From: Steve West
- Re: NT Service and Sockets
- From: Dirk Claessens
- NT Service and Sockets
- Prev by Date: Re: Where is stringbuilder?
- Next by Date: Re: Where is stringbuilder?
- Previous by thread: Re: NT Service and Sockets
- Next by thread: This post is utter and complete spam. Anyone want a job?
- Index(es):
Relevant Pages
|