Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Mar : Re: Error trapping (socket error 10053)
| Subject: | Re: Error trapping (socket error 10053) |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Mon, 24 Mar 2008 09:52:58 |
"E Sterrett" <e_sterrett@mailinator.com> wrote in message
news:47e518f1@newsgroups.borland.com...
> 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.
That is perfectly normal, and the server will handle it for you. You do not
need to do anything yourself for it.
> I'm trying to trap it like this:
You don't need to trap it at all.
> But the program still halts and gives me the error message. Why?
Are you running in the debugger at the time?
> If the user aborts I just want to ignore it and move on.
That is exactly what will happen normally when you are not running inside
the debugger.
Gambit
none