[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: non-blocking socket operations...
- From: Taj Khattra <taj.khattra@...>
- Date: Thu, 17 Jun 2004 23:53:08 -0700
> It's not that easy to make connect non-blocking.
yes, that is unfortunately true -
http://cr.yp.to/docs/connect.html has the gory details...
> DNS queries are still blocking and that I can't solve.
libresolv (the most common unix resolver library) makes
this difficult/impossible. fortunately, there are
alternative libraries that make it easy to do
asynchronous dns lookups (e.g. skadns) if one really
needs them.