tobold.org

correct • elegant • free

△ comp.lang.perl △

◅ Perl one liner challenge

How do I access a DBM as read-only ▻

Need help on sockets

In article <32C97390.5DF1@viewcallamerica.com>,
Ni , Min ( Frank ) <fni@viewcallamerica.com> wrote:
>I have the following code, I was trying to download a web page using
>this program, it will run, yet it has no response, can anyone tell me
>what's wrong with it ?

Nothing wrong with your socket programming, but you need to talk HTTP to
the remote server (specifically, asking it for the page you want).

RFC 1945 is the current specification of HTTP/1.0.

Tim.
--
Tim Goodwin   | "A language needs both intestines and guts." -- Larry Wall

Original headers:

From: tim@pipex.net (Tim Goodwin)
Newsgroups: comp.lang.perl.misc
Subject: Re: Need help on sockets
Date: 7 Jan 1997 13:36:13 GMT
Organization: UUNET PIPEX
Message-ID: <5atjgd$1lo@wave.news.pipex.net>
References: <32C97390.5DF1@viewcallamerica.com>

△ comp.lang.perl △

◅ Perl one liner challenge

How do I access a DBM as read-only ▻