[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: non-blocking socket operations...
- From: diego@...
- Date: Fri, 18 Jun 2004 02:20:59 -0400 (EDT)
> it would be nice if socket file descriptors could be marked
> blocking/non-blocking so that, e.g., connect() could also be
> made non-blocking. this would allow connection attempts to
> proceed in the background, which is occasionally useful.
It's not that easy to make connect non-blocking.
That said, the beta version already supports setting a
timeout before calling connect and it works fine.
DNS queries are still blocking and that I can't solve.