Hi,

On Don 30.03.2006 11:17, Garrett Rooney wrote:
On 3/30/06, Alexander Lazic <[EMAIL PROTECTED]> wrote:

how about to add/use a yet available lib such as:

UDNS: DNS Resolver Library
http://www.corpit.ru/mjt/udns.html

or similar libs?

Well, for UDNS and ADNS the problem is one of licensing (LGPL and GPL
respectively), and for Ares and C-Ares it's one of reliance on select
baked into the core of the code.  You could probably migrate the ares
code to a model that used APR pollsets, but it's not trivial.

c-ares have know a getsock() so you can use select() or similar calls,
as i understand it right.

http://cool.haxx.se/cvs.cgi/curl/ares/CHANGES?rev=HEAD&content-type=text/vnd.viewcvs-markup
---
* December 22

- Daniel Stenberg added ares_getsock() that extracts the set of sockets to
 wait for action on. Similar to ares_fds() but not restricted to using
 select() for the waiting.
---

http://daniel.haxx.se/projects/c-ares/ares_getsock.html

regards

Alex

Reply via email to