Hi,

Possible you have an unhandled exception. Please put some logging code into
the event OnBGException to check this, as well for the server socket as for
the data (client) sockets.

-- 
mvg, Wilfried
http://www.mestdagh.biz
http://www.comfortsoftware.be
http://www.expertsoftware.be


> -----Oorspronkelijk bericht-----
> Van: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org]
> Namens Henk van der Meer
> Verzonden: maandag 5 september 2011 12:29
> Aan: twsocket@elists.org
> Onderwerp: [twsocket] Is it possible to lose an accept select message?
> 
> We use ICS for a TCP server. Is typically serves a few hundreds of
> clients (200-500).
> They typically connect so that the server receives connection request
> on a regular pace.
> The connection rate usually starts with some 10s per second to 1 or 2
> per second.
> We have noticed a problem that after some time (sometimes just a few
> minutes) the server stops receiving new connections. After working on
> this problem for a long time we have found a 'work around'.
> When we notice that we have not received a new connection for some time
> we can click a button that executes some code that we hacked into ICS.
> What it actually does is call
> TCustomWSocketServer.TriggerSessionAvailable(0);
> This will make the server accepting new connections for some time until
> it stops receiving new connections again. We can do this endlessly.
> When we press this button when the server is still accepting new
> connection we get a would block exception.
> We have concluded that there is still a accept select message to
> process when this problem occurs.
> Does somebody have the same kinds of problems?
> Does somebody have a solution?
> Thank you,
> Henk van der Meer
> Time Service
> Ps we have found some issues that may be related but did not provide a
> solution:
> http://marc.info/?l=twsocket&m=130324417129390&w=2
> http://marc.info/?l=twsocket&m=110086858419142&w=2
> 
> --
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be

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

Reply via email to