"Microsoft DNS Client" vs. getaddrinfo?

Posted by Josh K on Stack Overflow See other posts from Stack Overflow or by Josh K
Published on 2009-09-02T18:31:39Z Indexed on 2010/04/25 21:03 UTC
Read the original article Hit count: 397

Filed under:
|
|
|
|

Right now, my application is using the c-ares asynchronous DNS resolver library on Windows below cURL, and I have users complaining that it behaves differently from other windows apps. One particular user said that "other applications are using the Microsoft DNS client" and experiences no problems.

cURL itself has an asynchronous DNS implementation that uses getaddrinfo() in a thread. My guess is that would be equivalent behavior to using the "DNS Client" and its host of functions (e.g. DnsQuery?)

So, dear Lazyweb, I ask if there is a tangible difference between the behavior of getaddrinfo() vs. using the actual Dns* APIs from the Win32 API.

© Stack Overflow or respective owner

Related posts about lazyweb

Related posts about dns