Article View: borland.public.cppbuilder.internet.socket
Article #1660Re: TcpClient OnReceive not fired
From: Remy Lebeau (TeamB)
Date: Thu, 21 Dec 2006 22:24
Date: Thu, 21 Dec 2006 22:24
14 lines
1318 bytes
1318 bytes
"sam" <nospam@nospam.com> wrote in message news:458ac12a@newsgroups.borland.com... > The problem is that OnReceive is never receive data, why ?? It is not supposed to be. OnReceive is only triggered when ReceiveBuf() is actually called. TTcpClient is not event-driven like TClientSocket is. TTcpClient and TTcpServer are very poorly designed components. I strongly advise against using them at all. Gambit
Technical Details
Message-ID:
<458b0998$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<458ac12a@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,7e12ca30a10b1d17 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: <458ac12a@newsgroups.borland.com> Subject: Re: TcpClient OnReceive not fired Date: Thu, 21 Dec 2006 14:24:20 -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: 75.83.34.171 Message-ID: <458b0998$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1166739864 75.83.34.171 (21 Dec 2006 14:24:24 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail