delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/29/11:48:49

Sender: richdawe AT bigfoot DOT com
Message-ID: <39FC2C03.48ED402C@bigfoot.com>
Date: Sun, 29 Oct 2000 13:54:11 +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: Damian Yerrick <yerrick AT hotmail DOT com>
CC: DJGPP newsgroup <djgpp AT delorie DOT com>,
libsocket Mailing List <libsocket AT egroups DOT com>
Subject: Re: Windows ME
References: <39F74EC6 DOT 71B10781 AT bigfoot DOT com> <fr2mvscej52mgjadp21l69vj721vdkcpqc AT 4ax DOT com>
Reply-To: djgpp AT delorie DOT com

Hello.

Damian Yerrick wrote:
> 
> On Wed, 25 Oct 2000 22:21:10 +0100, Richard Dawe
> <richdawe AT bigfoot DOT com> wrote:
> >
> > Has anyone tried libsocket on Windows ME? If you have, please let
> > me know.
> 
> Binary distribution 0.8.0-pre1 installed fine (although you might want
> to split the install-info calls off into a batch file instinfo.bat as
> I did).

Do you, split it off from the documentation? If so, adding a script to do
these steps seems like a good idea (although people should read the
install documentation anyway). The question is, if people don't read the
install documentation, how are they going to find instinfo.bat?

> Next question:  How do I test it?

Ah, I see that I did not include the demo programs in the pre-release of
the binary distribution (how stupid of me). Unfortunately I'm quite close
to my webspace limit, so I can't really upload the demos.

However, I've prepared a ZIP file (347K) of diag, httpget, which should be
enough to test it. It includes all the demo programs, so you can build
them yourself. It includes pre-compiled versions from the latest libsocket
sources. I fixed a couple of DNS-related bugs in the pre-release, so you
may want to test with these binaries too.

How to use it: with no libsocket configuration, run the 'diag' program.
This will show you how libsocket automatically configures itself. If the
DNS server addresses, etc. are correct, then it has configured itself
properly. You can use httpget to test a connection, e.g.:

    httpget http://www.slashdot.org/

You may want to try retrieving a page that you know is less than 32K of
HTML, because otherwise httpget will hang (another bug - sigh). If the DNS
settings aren't right, you will need to use an IP address instead. Get
Windows to resolve the address for you:

    ping www.slashdot.org

and then use the address display with httpget, e.g.:

    httpget http://64.1.2.3/

I am interested in the 'diag' output. Capture it like so:

    redir -eo -o diag-out.txt diag

I've mailed Damian the ZIP files. If anyone else wants them, please drop
me a mail.

Damian, thanks for taking the time to test this!

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