curl-library
Re: non-blocking sockets portability test
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 26 Sep 2001 18:06:02 +0200 (MET DST)
Date: Wed, 26 Sep 2001 18:06:02 +0200 (MET DST)
On Wed, 26 Sep 2001, jonatan wrote:
> >After removing the include for stropts.h, it built, but says this:
> >bash-2.05# make test
> >./connect www.haxx.se
> >Non-blocking socket set
> >connect() returned -1
> >select() returned 1
> >returned 0
> >*** Error code 11
>
> exactly the same results on macosx10.0.4/darwin1.3.7.
>
> on redhat7.0 it compiles fine, but with the same results from "make test".
Yeah, I'm sorry for not being more detailed, but that is what it looks like
when it behaves *good*! ;-)
Did the configure script on darwin found O_NONBLOCK too?
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/Received on 2001-09-26