Article View: borland.public.cppbuilder.internet.socket
Article #3319Re: IdTCPClient->Connected()
From: Remy Lebeau (TeamB)
Date: Thu, 13 Oct 2005 17:32
Date: Thu, 13 Oct 2005 17:32
17 lines
1426 bytes
1426 bytes
"Willie" <Willie.nospam@nospam.pchome.com.tw> wrote in message news:434e29b0$1@newsgroups.borland.com... > IdTCPClient->Connect(1000); > if(IdTCPClient->Connected()) // always true Do you ever read from or write to the socket? Indy uses blocking sockets, which cannot detect disconnects unless you actually access the socket periodically. > Indy 9.0.14 That is a very old build of Indy 9. Gambit
Technical Details
Message-ID:
<434e99de$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!newsfeed.freenet.de!newsfeed.inode.at!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<434e29b0$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2c351a0c0a230503 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: <434e29b0$1@newsgroups.borland.com> Subject: Re: IdTCPClient->Connected() Date: Thu, 13 Oct 2005 10:32:26 -0700 Lines: 19 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: <434e99de$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1129224670 68.69.17.41 (13 Oct 2005 10:31:10 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!newsfeed.freenet.de!newsfeed.inode.at!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail