🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1658

Re: TcpClient OnReceive not fired

#1658
From: Hans Galema
Date: Thu, 21 Dec 2006 18:49
22 lines
1649 bytes
sam wrote:

> I don't know.
> My google is to receive an Html file from a remote server.
> What is the way for that ?

What is your google?

Seeing that you used port 80 you probably want to get a
html file from a httpserver (a webserver).

If you use TcpClient then you have to program the whole
http protocol yourself. So it is much easier to take a
html component who does that all for you.

You could use TIdHttp for it.

Examples how to do that you can find in this group or after
searching in this group with
http://www.google.nl/advanced_group_search?hl=en

Hans.
Technical Details
Message-ID: <458ad7d3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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
References: <458ac12a@newsgroups.borland.com> <458ac581@newsgroups.borland.com> <458ac8d7@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 19:49:59 +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> <458ac581@newsgroups.borland.com> <458ac8d7@newsgroups.borland.com>
In-Reply-To: <458ac8d7@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: <458ad7d3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1166727123 145.98.201.248 (21 Dec 2006 10:52:03 -0800)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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