You can not have two programs listening on the same port hence the bind error.
Darin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wesley Spadola Sent: Thursday, July 14, 2005 9:13 PM To: twsocket@elists.org Subject: [twsocket] Bind Exceptions Forgive me if the answer is right in front of my face, but currently I'm stumped: I have a server listening on a port. When I try and load up a second instance of my program in the IDE and run it, the second program halts in place when the server tries to use the bind() Winsock function. A window gets thrown up and mentions that an exception occured trying to bind. Now, I can use the OnError WSocket procedure to display an error, and I can even call Sender.ClassName inside that method to display what class caused the error, but is there any way to determine exactly what error occured and try to act on it accordingly? Thanks, Wesley -- 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 -- 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