> Sorry about that - yes, it was a 10048 error. I was wondering how I > could catch that error programatically when my program runs.
Try/except around your cann to Listen. -- [EMAIL PROTECTED] http://www.overbyte.be ----- Original Message ----- From: "Wesley Spadola" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Friday, July 15, 2005 12:11 PM Subject: Re: [twsocket] Bind Exceptions > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > To you both, Darin and Wilfried - I'm aware that you cannot have two > sockets listening on the same address, port and protocol. > > Sorry about that - yes, it was a 10048 error. I was wondering how I > could catch that error programatically when my program runs. > > If it runs standalone (not in the IDE), will the OnBgException catch the > error and allow me to properly deal with it then (such as in a "case > ErrCode/Error of" statement), or is there a way I can change the OnError > to allow me to actually take action on that Winsock error if and when my > program gets to it? > > Thanks, > Wes > > Wilfried Mestdagh wrote: > > Hello Wesley, > > > > Next time please write down at least the winsock error :) > > In this case you have 10048 witch means that the address already in use > > (by your other instance of your program). > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.0 (MingW32) > > iD8DBQFC14vuB5TesQcz1CoRAmSaAKC3Bau7C9tPbIH8VjXaryUfY95GbgCfY9Xq > y1bXK9fBV2mgfk2QjBUwVF8= > =s2al > -----END PGP SIGNATURE----- > > -- > 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