Juliusz Chroboczek <[EMAIL PROTECTED]> wrote on 7 Mar 2008 3:03:
> I'd really like some Windows person to work out for me how to find
> a recursive name server under Windows.

I'm not a specialized windows developer, but IMHO you have the possibilities:

1) Use the built-in asynchron resolver WSAAsyncGetHostByName.
But I cite "Note  The WSAAsyncGetHostByName function is not designed to provide 
parallel 
resolution of several names. Therefore, applications that issue several 
requests should not 
expect them to be executed concurrently."
http://msdn2.microsoft.com/en-us/library/ms741522(VS.85).aspx

2) Read the current dns server via GetNetworkParams
http://msdn2.microsoft.com/en-us/library/aa365968(VS.85).aspx
(FIXED_INFO --> DnsServerList: A linked list of IP_ADDR_STRING structures that 
specify 
the set of DNS servers used by the local computer.)

Regards,
   Frank
-- 
Frank Behrens, Osterwieck, Germany
PGP-key 0x5B7C47ED on public servers available.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to