Article View: borland.public.cppbuilder.internet.socket
Article #4470Re: retrieve a simple web page by knowing its URL
From: Steve Aletto
Date: Thu, 10 Feb 2005 07:47
Date: Thu, 10 Feb 2005 07:47
9 lines
1390 bytes
1390 bytes
>> "Host: "+IP+"\r\n" > > You should be specifying the host name, not the IP. That's not enough as far as my tests could be worth. You should specify "Accept: text/html", otherwise you'd get a "406 Not Acceptable" error (the resource cannot be displayed). Steve.
Technical Details
Message-ID:
<420b1193@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4209d747@newsgroups.borland.com> <420a530c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,474753b63a76f917 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com> From: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <4209d747@newsgroups.borland.com> <420a530c@newsgroups.borland.com> Subject: Re: retrieve a simple web page by knowing its URL Date: Thu, 10 Feb 2005 08:47:31 +0100 Lines: 11 Organization: Steve Aletto X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 81.208.124.114 Message-ID: <420b1193@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1108021651 81.208.124.114 (9 Feb 2005 23:47:31 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail