🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

IdTCPClient Connected question

#1468
From: Dennis Jones
Date: Thu, 25 Jan 2007 21:56
9 lines
1385 bytes
When I try to establish a connection with a server, IdTCPClient's Connected 
property returns true almost immediately upon calling the Connect() method, 
and stays true until the call times out (if the server is unavailable).  It 
seems to me that the Connected property should not return true until a 
connection is properly established.  In other words, if it is "connecting" 
or "trying to connect," it should not tell me that it is "connected," 
because it isn't.  How can I determine the *true* state of the client?

- Dennis 
Technical Details
Message-ID: <45b9274f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.google.com!news.germany.com!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,e8cbc2087e955870,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Dennis Jones" <nospam@nospam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: IdTCPClient Connected question
Date: Thu, 25 Jan 2007 13:56:14 -0800
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 71.245.109.58
Message-ID: <45b9274f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1169762127 71.245.109.58 (25 Jan 2007 13:55:27 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.google.com!news.germany.com!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail