Article View: borland.public.cppbuilder.internet.socket
Article #3103Re: Indy TCP "Wait for Reply"
From: Darlington ADIBE
Date: Fri, 18 Nov 2005 00:33
Date: Fri, 18 Nov 2005 00:33
31 lines
1994 bytes
1994 bytes
> Yes, they do. It is a property of TIdTCPConnection in Indy 9 and of
> TIdIOHandler in Indy 10. If you don't have the property, then you must be
> using the version of Indy that ships with BCB6. That version of Indy is
> VERY old and no longer supported. You should seriously consider upgrading
> to a newer version.
I have up graded to indy9.
and now my server doesn't work again i get an access voilation error in the
Execute Event
void __fastcall TForm1::tcpExecute(TIdPeerThread *AThread)
{
AnsiString cmd;
AnsiString request;
do{
request = AThread->Connection->ReadLn(LF, -2); <---- Error is thrown
here
cmd = Fetch(request, "#");
if(cmd == "AUTHEN") Authenticate(AThread, request);
} while(cmd != AnsiString("DISCONT"));
AThread->Connection->Disconnect();
}
I still don't see any property that allow me to change the default Line
Terminatior, that of ReadTimeout I saw
Darl.
Technical Details
Message-ID:
<437d20f2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<437c328b@newsgroups.borland.com> <437cc79a$1@newsgroups.borland.com> <437cd28f@newsgroups.borland.com> <437cf568$1@newsgroups.borland.com> <437cfa81@newsgroups.borland.com> <437cfc7d$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,187f889f070be6a7 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Darlington ADIBE" <bcb@triative.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <437c328b@newsgroups.borland.com> <437cc79a$1@newsgroups.borland.com> <437cd28f@newsgroups.borland.com> <437cf568$1@newsgroups.borland.com> <437cfa81@newsgroups.borland.com> <437cfc7d$1@newsgroups.borland.com> Subject: Re: Indy TCP "Wait for Reply" Date: Fri, 18 Nov 2005 01:33:01 +0100 Lines: 33 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 NNTP-Posting-Host: 83.229.68.10 Message-ID: <437d20f2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1132273906 83.229.68.10 (17 Nov 2005 16:31:46 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail