delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/05/12:45:13.1

From: Richard Dawe <richdawe AT bigfoot DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Can I query the WWW from a DJGPP program?
Date: Sat, 04 Nov 2000 12:45:28 +0000
Organization: Customer of Energis Squared
Lines: 27
Message-ID: <3A0404E8.D423EA7C@bigfoot.com>
References: <8tu6jd$7o9$1 AT news DOT stortek DOT com> <9ld50t0bdc1j4447j7jc73k76u0pq3dg8g AT 4ax DOT com> <qbFM5.9131$mv2 DOT 29116 AT news2-win DOT server DOT ntlworld DOT com> <d6h60tc51lk88fn2fe5hlgklbqonbokqip AT 4ax DOT com>
NNTP-Posting-Host: modem-136.antimony.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: newsg2.svr.pol.co.uk 973342301 18278 62.136.42.136 (4 Nov 2000 12:51:41 GMT)
NNTP-Posting-Date: 4 Nov 2000 12:51:41 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.17 i586)
X-Accept-Language: de,fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello.

Jason Green wrote:
> I believe there is also a demo program with libsocket called httpget
> that might suit, I have not used this.

Yes, it does. It implements HTTP/0.9, the most basic version of HTTP in
use today. Use it like so:

    httpget http://somehost.com/dir/page.html

It will show you how to connect to a host and do basic web page fetches.
You may also want to look at Beej's Guide to Network Programming:

    http://www.phekda.freeserve.co.uk/richdawe/lsck/doc/beejng/

libsocket is here:

    http://libsocket.tsx.org/

You can download version 0.8.0 pre 1 from the download page.

HTH, bye,

-- 
Richard Dawe
[ mailto:richdawe AT bigfoot DOT com | http://www.bigfoot.com/~richdawe/ ]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019