Article View: borland.public.cppbuilder.internet.socket
Article #1656Re: TcpClient OnReceive not fired
From: Hans Galema
Date: Thu, 21 Dec 2006 17:31
Date: Thu, 21 Dec 2006 17:31
20 lines
1496 bytes
1496 bytes
sam wrote: > The connection is effective because the event OnConnect is fired. Ok. > The problem is that OnReceive is never receive data, why ?? So OnReceive is triggered ? And then there is no data? I suppose that OnReceive is not triggered in blocking mode. You have to start reading in order to receive something. And what do you think the web server is sending upon a connect? I'm not familiar with this component. I just compare with TClientSocket. Why did you choose for blocking mode? Hans.
Technical Details
Message-ID:
<458ac581@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.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 Date: Thu, 21 Dec 2006 18:31:48 +0100 From: Hans Galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: TcpClient OnReceive not fired References: <458ac12a@newsgroups.borland.com> In-Reply-To: <458ac12a@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 145.98.201.248 Message-ID: <458ac581@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1166722433 145.98.201.248 (21 Dec 2006 09:33:53 -0800) Lines: 20 Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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