> However, it occurs to me that a lot of processing > seems to be occurring from the moment the client > arrived until the connection is established and the > OnClientConnect event is fired; and if the client > needs to be dropped for some reason, all this > processing is wasted.
I don't think much processing is occuring between OnClientCreate and OnClientConnect, at least in the component itself. However, you can always derive your own component from TWSocketServer and override TriggerSessionAvailable to do it somewhat differently. You could call Accept to get hand on the socket handle and close it without giving it to the ClientClass instance, you can evn not create the instance if you don't plan to keep the connection. -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) 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
