🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1528

Re: NMHTTP->TimeOut = Indy->ReadTimeout or ConnectTimeout

#1528
From: Remy Lebeau (TeamB)
Date: Thu, 02 Dec 2004 17:46
25 lines
1696 bytes
"John M." <johnnym@yahoo.com> wrote in message
news:41af1526@newsgroups.borland.com...

> i change from nmhttp to tidhttp.
>
> now i need to translate this line:
>
> HTTP->TimeOut = "5000";
>
> Should I use ReadTimeout, Connecttimeout or both? I could
> not find any information on that.

If you read the documentation for TNMHTTP, you will see the following for
the TimeOut property:

    "The TimeOut property specifies the amount of time (in milliseconds) to
wait for a response from the socket before an exception is raised and the
current operation is aborted. If TimeOut is 0, an exception is never raised,
and operations never time out."

That is equivilent to Indy's ReadTimeout property.


Gambit
Technical Details
Message-ID: <41af5572$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.yul.equant.net!c03.atl99.usenetserver.com!atl-c02.usenetserver.com!news.usenetserver.com!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41af1526@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,ded9bcd29a0a67f7
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <41af1526@newsgroups.borland.com>
Subject: Re: NMHTTP->TimeOut = Indy->ReadTimeout or ConnectTimeout
Date: Thu, 2 Dec 2004 09:46:59 -0800
Lines: 28
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: 68.69.17.41
Message-ID: <41af5572$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1102009714 68.69.17.41 (2 Dec 2004 09:48:34 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.yul.equant.net!c03.atl99.usenetserver.com!atl-c02.usenetserver.com!news.usenetserver.com!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail