cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: again: connect() timeouts

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 30 Oct 2000 23:46:25 +0100 (MET)

On Mon, 30 Oct 2000, Rich Gray wrote:

> The only solution is to always use sigaction() instead.

Thanks a lot Rich for doing more research in the subject!

I also got the alternative suggestion from Bjorn Reese to set the socket to
non-blocking mode and thus be able to timeout with a select().

Would that possibly make it work better on win32 systems or systems that
don't have sigaction()? Or will those systems have problems with non-blocking
sockets? Anyone knows?

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2000-10-30