Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Mar : Error trapping (socket error 10053)

www.cryer.info
Managed Newsgroup Archive

Error trapping (socket error 10053)

Subject:Error trapping (socket error 10053)
Posted by:"E Sterrett" (e_sterre..@mailinator.com)
Date:Sat, 22 Mar 2008 14:34:28

I have an http server, but I am unsure of how to deal with certain errors.

For example, if the user aborts a request or retries before it is
finished I get a socket error code 10053. 'Software caused connection abort.

I'm trying to trap it like this:

try
    // Do Stuff
end
except on E : Exception do
         // Nothing
end;


But the program still halts and gives me the error message. Why? If the
user aborts I just want to ignore it and move on.

Thanks

Replies:

www.cryer.info
Managed Newsgroup Archive