[JDEV] resource_in_use
Jacob O'Reilly
jacob at clear.net.nz
Mon Jan 24 22:12:02 CST 2000
-----Original Message-----
From: Thomas Charron <tcharron at ductape.net>
To: jdev at jabber.org <jdev at jabber.org>
Date: Tuesday, 25 January 2000 14:46
Subject: Re: [JDEV] resource_in_use
[...snip...]
>
> This may the COM DLL not really closing the socket after a crash. Next
time
>it happens, do a netstat, and let us know is socket 5222 is still connected
>AFTER the crash.
>
> The server will usually disconnect dead users, but in a crash situation
under
>Win32, strange things can happen, and it seems to me, this may be the
case..
I problems like this one can be because of the lazy nature of the Windows
TCP/IP stack. I understand that under Windows it is assumed that a broken
connection will not usually identified by the peer until it attempts an
action on the connection. Of course, it is entirely possible that after a
crash Winsock is not cleaning up!
>
>---
>Thomas Charron
-- Jacob O'Reilly.
More information about the JDev
mailing list