Article View: borland.public.cppbuilder.internet.socket
Article #3166Re: TIdPOP3 connection problems
From: Remy Lebeau (TeamB)
Date: Sun, 13 Nov 2005 10:05
Date: Sun, 13 Nov 2005 10:05
19 lines
1698 bytes
1698 bytes
"Lapo Guidi" <lapoguidi@inwind.it> wrote in message news:43770cf1$1@newsgroups.borland.com... > The problem is that the thread freeze for a > great amount of time when network connection > is not alive. That is to be expected. Indy is a blocking library, and you did not specify any timeout for the Connect(). If the OS does not know that the network is not available then sockets will not know either, and thus it could take awhile for any errors to be reported. You did not say which version of Indy you are using. Connect() in Indy 9 does have an ATimeout parameter. In Indy 10, the parameter has been replaced with a ConnectTimeout property instead. Gambit
Technical Details
Message-ID:
<43771002$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4376a0e1@newsgroups.borland.com> <4376f3d5$1@newsgroups.borland.com> <43770cf1$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,e00f97c8a234c11c X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <4376a0e1@newsgroups.borland.com> <4376f3d5$1@newsgroups.borland.com> <43770cf1$1@newsgroups.borland.com> Subject: Re: TIdPOP3 connection problems Date: Sun, 13 Nov 2005 02:05:32 -0800 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 206.107.212.239 Message-ID: <43771002$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1131876354 206.107.212.239 (13 Nov 2005 02:05:54 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail