cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Building curl 7.7.1 with the VC IDE, SSL release build

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 9 Apr 2001 08:05:27 +0200 (MET DST)

On Sun, 8 Apr 2001, SM wrote:

> >But it might be worth switching to non-blocking connects, as that would
> >enable better timeouts for win32.
>
> That would mean adding a "window" to handle the winsock messages. I will
> see whether there is a way to get the connect timeout to work under
> win32.

We wouldn't need that. When I speak of non-blocking connects, I mean the same
kind of non-blocking method that is available for unixes already (not the
windows-style asynchronous approach). We get this by setting the socket in
non-blocking state, which I've been told is done similar to this in windows:

  ioctlsocket(socket, FIONBIO, (u_long FAR *)&nonblock);

... then we can select() on the socket.

This would work similarly on all platforms that support non-blocking
connects.

> I am attaching the updated curllib.dsp and curllib.dsw files. I have
> modified the lib\makefile.vc6 (attached)

Thanks!

BTW, if you tell me your name I'll give you credit in the changes files
etc... :-)

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2001-04-09