Re: How to catch IdPOP3/Winsock Exceptions?

Giganews Newsgroups
Subject: Re: How to catch IdPOP3/Winsock Exceptions?
Posted by:  Chad Z. Hower aka Kudzu (cp…@hower.org)
Date: Sun, 19 Oct 2003

"xCarl" <car…@pacific.net.sg> wrote in
news:0B3DFF643883E240car…@pacific.net.sg:
> I am sorry if I sounded silly, but in my env. I am having exceptions
> raised frequently like, Socket Error 10060, 10010, 11004, Timeout, etc.
> I know they are internet connectivity related, but it would be nice if I

try..catch

> I have checked on the Indy8 IdPOP3 event handlers but there isn't any
> "onTimeout", "onConnectionFailure", etc. Me using C Builder 4. Any kind
> individual can provide some assistance?

Stop thinking like a non blocking socket. Think like a file.

You might also consider Indy in Depth, it covers exception handling and much
much more.

Replies

None

In response to

How to catch IdPOP3/Winsock Exceptions? posted by xCarl on Mon, 20 Oct 2003