Article View: borland.public.cppbuilder.internet.socket
Article #1576Re: TIdHTTP's timeout-settings seem not to work as intended
From: MR
Date: Tue, 05 Dec 2006 03:05
Date: Tue, 05 Dec 2006 03:05
19 lines
1562 bytes
1562 bytes
>> 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. Thank you. Because I suppose this connection-loose will not occur to often it's not so problematic, if the application is blocked for about 1/4 minute in this case. In the other cases I tried (e.g. giving an html-.address which does not exist it times-out like intended... Thanks, Michael
Technical Details
Message-ID:
<ogn9n2dftlvj20elpvrgg85pkdv50firo7@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.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> <45747a99$1@newsgroups.borland.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: <MR> Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: TIdHTTP's timeout-settings seem not to work as intended Date: Tue, 05 Dec 2006 04:05:18 +0100 Message-ID: <ogn9n2dftlvj20elpvrgg85pkdv50firo7@4ax.com> References: <ka65n2lunuqph368222hfcmnksqlglejie@4ax.com> <45747a99$1@newsgroups.borland.com> X-Newsreader: Forte Free Agent 3.3/32.846 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 88.64.14.9 X-Trace: newsgroups.borland.com 1165287755 88.64.14.9 (4 Dec 2006 19:02:35 -0700) Lines: 19 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.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