Re: get a URL

Scott Nelson ([email protected])
Wed, 8 Mar 1995 10:14:39 -0800


On Mar 8, 9:33am, Al Globus wrote:
> Subject: get a URL
>I need a very simple function that I'm sure
>someone here has done.
>
>void* getURL( char* url );
>
>this functin takes a complete URL as input and returns
>the contents of the file at that URL. I know I could
>figure this puppy out from the http spec in a fairly
>short time -- but it'd be even quicker to get what
>someone has already done. It's obviously useful
>for VRML. Thanx in advance.
>-- End of excerpt from Al Globus

You may want to look into the following from Oscar Nierstrasz,
http.pl, html.pl, url.pl

# This package and friends can be found at:
# http://cui_www.unige.ch/ftp/PUBLIC/oscar/scripts/README.html
# or ftp: cui.unige.ch:/PUBLIC/oscar/scripts/

There not in the C that you were looking for, but it
sould be a simple port.

Scott Nelson

-- 

+----------------------------------------------------+ |Scott D. Nelson B131 Rm2074 3-1250 | |Lawrence Livermore National Laboratory | |7000 East Ave., L-153 Livermore CA 94550 | |email: [email protected] http://www-dsed.llnl.gov/ | +----------------------------------------------------+