🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5399

TIdTCPClient->Connect() Timeout

#5399
From: Royce Fessenden
Date: Wed, 01 Sep 2004 19:44
6 lines
1252 bytes
I have downloaded and installed Indy 9.00.14.  The compiler will not let me use a Timeout parameter with connect ie MySocket->Connect(CONNECT_TIMEOUT);  From what I can tell this ability was added after Indy ver. 8.x and is gone in Indy 10.  But why can't the compiler find it in 9.00.14?  (The folder is at the top of the LIBRARY list, can't find any references to the old version, etc.)

What's the best way to implement a timeout or resolve the above?

Thanks.
Technical Details
Message-ID: <41362684$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!t-online.de!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,6323fc9d9de06a22,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Royce Fessenden" <rfessenden@dmp.com>
Sender: "Royce Fessenden" <rfessenden@dmp.com>
Reply-To: "Royce Fessenden" <rfessenden@dmp.com>
Subject: TIdTCPClient->Connect() Timeout
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 209.248.148.58     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <41362684$1@newsgroups.borland.com>
Date: 1 Sep 2004 12:44:04 -0700
X-Trace: newsgroups.borland.com 1094067844 207.105.83.66 (1 Sep 2004 12:44:04 -0700)
Lines: 6
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!t-online.de!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail