> If one were to use WSocketServer to handle multiple client connections > simultaneously, what would be the preferred method to stop the server > and therefore close all client connections?
Closing the server socket doesn't break any existing connection, it just make the server stop accepting new connections. To close all existing connections, you have to iterate thru the Client[] property and call Shutdown(1), Close() or Abort() for each connection depending on how you want to break the connection. > Also, this is assuming that the server will re-activate again later > while the application continues to run the whole time. Just call Listen again to make the server socket accept new connections. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- 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