cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: non-blocking sockets portability test

From: <curl_at_thewrittenword.com>
Date: Fri, 28 Sep 2001 07:17:25 -0500

On Wed, Sep 26, 2001 at 03:40:18PM +0200, Daniel Stenberg wrote:
> This time, I'm taking a rather casual approach and I've hacked up a separate
> test program I want us to make compile and run on as many operating systems
> as possible.
>
> The package is currently 53108 bytes and you get it here:
>
> http://curl.haxx.se/dev/nonblockconnect.tar.gz
>
> I would like to urge as many as possible to get this, unpack, run configure,
> and then compile and run 'make test'. If anything was needed to get it to
> compile or build, submit a fix. When successful, please post what OS you're
> using.

HP-UX 10.20:
./connect www.haxx.se
Running non-block test on: hppa1.1-hp-hpux10.20
nonblock ON with O_NONBLOCK
Non-blocking socket successfully set
connect() returned -1, doing asynch connect now
select() returned after connected fine
nonblock OFF with O_NONBLOCK
switched off non-blocking fine

HP-UX 11.00:
./connect www.haxx.se
Running non-block test on: hppa1.1-hp-hpux11.00
nonblock ON with O_NONBLOCK
Non-blocking socket successfully set
connect() returned -1, doing asynch connect now
select() returned after connected fine
nonblock OFF with O_NONBLOCK
switched off non-blocking fine

Tru64 UNIX 4.0D:
./connect www.haxx.se
Running non-block test on: alpha-dec-osf4.0d
nonblock ON with O_NONBLOCK
Non-blocking socket successfully set
connect() returned -1, doing asynch connect now
select() returned after connected fine
nonblock OFF with O_NONBLOCK
switched off non-blocking fine

Tru64 UNIX 5.0A:
./connect www.haxx.se
Running non-block test on: alpha-dec-osf5.0
nonblock ON with O_NONBLOCK
Non-blocking socket successfully set
connect() returned -1, doing asynch connect now
select() returned after connected fine
nonblock OFF with O_NONBLOCK
switched off non-blocking fine

Tru64 UNIX 5.1:
./connect www.haxx.se
Running non-block test on: alpha-dec-osf5.1
nonblock ON with O_NONBLOCK
Non-blocking socket successfully set
connect() returned -1, doing asynch connect now
select() returned after connected fine
nonblock OFF with O_NONBLOCK
switched off non-blocking fine

-- 
albert chin (china_at_thewrittenword.com)
Received on 2001-09-28