July 30, 2004
Hi,

I have a D server and client talking to each other over a socket. The server listens for a request, and then keeps that socket open for as long as the client wishes to maintain a conversation (under a separate thread). The client caches the connected socket so it doesn't have to create new ones all the time. All works as one would expect, except when the server reaps "inactive" sockets after a timeout period of 60 seconds. From that point forward, any client activity (such as creating and reading a brand new socket) causes this error:

"An established connection was aborted by the software in your host machine."

Any ideas what the problem might be?