Article View: borland.public.cppbuilder.internet.socket
Article #1725Re: TIdHTTP's timeout-settings seem not to work as intended
From: Remy Lebeau (TeamB)
Date: Mon, 04 Dec 2006 19:41
Date: Mon, 04 Dec 2006 19:41
16 lines
1444 bytes
1444 bytes
<MR> wrote in message news:ka65n2lunuqph368222hfcmnksqlglejie@4ax.com... > I'm setting a TIdHTTP's ConnectTimeout and ReadTimeout properties > to a value about 200ms. 200ms is fine for a ReadTimeout, but that is generally too small for a ConnectTimeout, especially if a DNS query has to be performed. There are no DNS timeouts available, and network latency can cause slow connections. > So perhaps I have to set another timeout-property? There aren't any other timeouts. Gambit
Technical Details
Message-ID:
<45747a99$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.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:
<ka65n2lunuqph368222hfcmnksqlglejie@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ea2602d77c27c265 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: <ka65n2lunuqph368222hfcmnksqlglejie@4ax.com> Subject: Re: TIdHTTP's timeout-settings seem not to work as intended Date: Mon, 4 Dec 2006 11:41:27 -0800 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 69.169.4.232 Message-ID: <45747a99$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1165261465 69.169.4.232 (4 Dec 2006 11:44:25 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.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