Board index » cppbuilder » ESocketError 'Asynchronous socket error 10053'
|
JunkMail
CBuilder Developer |
ESocketError 'Asynchronous socket error 10053'2004-01-20 08:01:46 AM cppbuilder77 Again using a TServerSocket with ServerType = stNonBocking. The server program is running and then all of a sudden I get this message which popups in the de{*word*81} Project TestServer.exe raised exception class ESocketError with message 'Asynchronous socket error 10053'. Process stopped. Use Step or Run to continue. I then hit ok. The de{*word*81} stops on the line showin below WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) { try { Application->Initialize(); Application->CreateForm(__classid(TfrmMain), &frmMain); Application->Run(); } //****** DE{*word*81} STOPS HERE **** catch (Exception &exception) { //*** DE{*word*81} DOES NOT GET TO THIS CODE Application->ShowException(&exception); } return 0; } I hit F7 to step and then nothing happens. I click on the TestServer.exe on the task bar it shows that "Asynchronous socket error 10053 again. What is this exception and why is not being caught by Catch(Exception& e). Do I need to be catching a ESocketError Do I need to be catching that in my OnClientError event code and setting ErrorCode = 0 when this error occurs? |
