cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Asynch DNS in Curl

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Sat, 13 Sep 2003 13:46:23 +0200

"codemastr" <codemstr_at_ptd.net> said:

> I spent many hours trying to figure out exactly how to 100% get this
> information (MS doesn't provide the world's greatest documentation on the
> registry) so rather than have you guys spend the same time doing it,
> http://www.codemastr.com/win32res.txt is what I used to get the nameserver
> from the NT/2k/XP registry. I hope that helps somewhat :)

Forget the registry. On Win-2K/NT you can use GetNetworkParams()
function available in iphlpapi.dll.

BTW. I think curl should use the more "popular" ADNS library. That
at least works on Win32 platforms.

--gv

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-13