Article View: borland.public.cppbuilder.internet.socket
Article #1657Re: TcpClient OnReceive not fired
From: sam
Date: Thu, 21 Dec 2006 17:47
Date: Thu, 21 Dec 2006 17:47
28 lines
1728 bytes
1728 bytes
> Why did you choose for blocking mode? I don't know. My google is to receive an Html file from a remote server. What is the way for that ? Sam "Hans Galema" <notused@notused.nl> a οΏ½crit dans le message de news: 458ac581@newsgroups.borland.com... > 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:
<458ac8d7@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<458ac12a@newsgroups.borland.com> <458ac581@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,7e12ca30a10b1d17 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII Reply-To: "sam" <nospam@nospam.com> From: "sam" <nospam@nospam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <458ac12a@newsgroups.borland.com> <458ac581@newsgroups.borland.com> Subject: Re: TcpClient OnReceive not fired Date: Thu, 21 Dec 2006 17:47:56 -0000 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 41.207.160.93 Message-ID: <458ac8d7@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1166723287 41.207.160.93 (21 Dec 2006 09:48:07 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail