> I have a program with WSocketServer.
> This Server just stops listening for new connections.
> I do a Server.Close and Server.Listen and then new
> connections start coming in. What could be the reason?

You say it just stop. No error message, no exception ?
About exception are you sure you haven't silently catched exceptions ?

I doubt it's the problem, but you have to know wthat passing an invalid handle 
to CloseHandle may
close a socket. Close handle is used by many many features as it is the general 
close function in
windows. So closing something not opened, not correctly initialized, something 
already freed and so
on could result of the listening socket being closed if it happend that the 
invalid handle value is
unfortunately the listening socket handle.

Contribute to the SSL Effort. Visit
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)

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