Thread View: borland.public.cppbuilder.internet.web
2 messages
2 total messages
Started by John M.
Thu, 02 Dec 2004 13:14
NMHTTP->TimeOut = Indy->ReadTimeout or ConnectTimeout
Author: John M.
Date: Thu, 02 Dec 2004 13:14
Date: Thu, 02 Dec 2004 13:14
13 lines
1221 bytes
1221 bytes
Hi, 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. John
Re: NMHTTP->TimeOut = Indy->ReadTimeout or ConnectTimeout
Author: Remy Lebeau (TeamB)
Date: Thu, 02 Dec 2004 17:46
Date: Thu, 02 Dec 2004 17:46
25 lines
1696 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads