> I'm not reinventing the wheel. I saw your samples programs about > TWSocketServer too. My problem not is work with various instances of > clients. My problem is when the client connect the server, the server > redirect the connection to another application. I have the Socket.Accept, I > run another application, in this another application who I do establish > connection with the client ? It's possible ?
Altough I have nerver done this, I think it is possible. Once you have the socket handle for the accepted connection, you may start another process, make it inherit the handle and let him process the connection. The second process may use TWSocket and receive the inherited handle using Dup(). You have somewhat to split TWSocketServer in two parts. The listening part stay in one process and the client handling goes into another one. -- [EMAIL PROTECTED] 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