Hello,

> So how to overcome it? Francois says the Winsock would timeout at some time
> and raise an error but that does not seem to be the case! Seems to me that

The 10053 is in OnSessionClosed yes ? So all you have to do is reconnect
over there.

> there are CLOSE_WAIT state sockets aggregating and when they reach a certain
> amount, Accept() no longer works!

You mean at server side ? Correct if there are too many sockets in use
(including the sockets in WAIT state) they use non pagable memory. When
all memory is used you cannot create a socket until memory becaumes
available again. So the server has to have the amount of memory needed
for his maximum predicted amount of clients and yes with some reserve
because connection can break.

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to