apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Lazic <al-...@none.at>
Subject Re: Fwd: APR resolver?
Date Thu, 30 Mar 2006 19:36:36 GMT
Hi,

On Don 30.03.2006 11:17, Garrett Rooney wrote:
>On 3/30/06, Alexander Lazic <al-apr@none.at> 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

Mime
View raw message