I'm writing an app that needs to listen on a certain port - this I have no problems with. What I don't know how to do is when a client connects on that port, it gets redirected to another port, this I can do actually. My problem occurs when I try to copy the winsock in the server app. I have included it as a reference and not as a control (still the MSWINSCK.OCX though). I need the WithEvents as part of the sock.

cjqp