Article View: borland.public.cppbuilder.internet.socket
Article #4403Re: Indy TCP client conncted ?
From: Remy Lebeau (TeamB)
Date: Tue, 22 Feb 2005 18:50
Date: Tue, 22 Feb 2005 18:50
14 lines
1297 bytes
1297 bytes
"Roberto Zais" <rzaiss@tiscali.it> wrote in message news:4219e6b2$1@newsgroups.borland.com... > TCPClient->Connect(); > TCPClient->Disconnect(); > if(TCPClient->Connected()) //esito == true ) It should be obvious why Connected() always returns false for you - you are disconnecting the connection before calling Connected(), so of course Connected() will be false because there really is no connection available. Gambit
Technical Details
Message-ID:
<421b7ed0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4219e6b2$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,e9928c88cb4b1587 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <4219e6b2$1@newsgroups.borland.com> Subject: Re: Indy TCP client conncted ? Date: Tue, 22 Feb 2005 10:50:00 -0800 Lines: 16 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: <421b7ed0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1109098192 68.69.17.41 (22 Feb 2005 10:49:52 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail