delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/05/09:05:28

Sender: richdawe AT bigfoot DOT com
Message-ID: <3A0568FF.B32274B2@bigfoot.com>
Date: Sun, 05 Nov 2000 14:04:47 +0000
From: Richard Dawe <richdawe AT bigfoot DOT com>
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.17 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: DJGPP newsgroup <djgpp AT delorie DOT com>
Subject: Re: Can I query the WWW from a DJGPP program?
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>
Reply-To: djgpp AT delorie DOT com

This is a cryptographically signed message in MIME format.

--------------ms3490841CE04C576EBC4517B6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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/ ]
--------------ms3490841CE04C576EBC4517B6
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIIHFQYJKoZIhvcNAQcCoIIHBjCCBwICAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BY0wggLMMIICNaADAgECAhB2D2twnX9w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8XDTAwMTEwNTE0MDQ0N1owHgYJKoZI
hvcNAQkPMREwDzANBggqhkiG9w0DAgIBKDAjBgkqhkiG9w0BCQQxFgQUV6sfOmngT4g7mcJj
QlkBy5zGJuMwDQYJKoZIhvcNAQEBBQAEQAXZK+I2uSq049E+GKRXnLYcivlGpI1/l6l3SUAY
CzvKqi0DEjjB7sOm8zhnapYzprWfvuEx3zEfOt1RuX9lhfw=
--------------ms3490841CE04C576EBC4517B6--

- Raw text -


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