[Vm-dev] [commit] r2249 - Add primitive for obtaining Win32 DNS info.

Frank Shearar frank.shearar at angband.za.org
Wed Jul 28 08:07:04 UTC 2010


On 2010/07/28 05:33, commits at squeakvm.org wrote:
>
> Author: andreas
> Date: 2010-07-27 20:33:19 -0700 (Tue, 27 Jul 2010)
> New Revision: 2249
>
> Added:
>     trunk/platforms/win32/vm/sqWin32DnsInfo.c
> Modified:
>     trunk/platforms/win32/vm/sqWin32Exports.c
> Log:
> Add primitive for obtaining Win32 DNS info.

>
> Added: trunk/platforms/win32/vm/sqWin32DnsInfo.c
> ===================================================================
> --- trunk/platforms/win32/vm/sqWin32DnsInfo.c	                        (rev 0)
> +++ trunk/platforms/win32/vm/sqWin32DnsInfo.c	2010-07-28 03:33:19 UTC (rev 2249)

I'd expected to see a bunch of calls to the IP Helper API - calls to 
GetAdaptersAddresses and friends - for enumerating the adapters.

I don't think that IP Helper allows for asking about name resolution, so 
even modulo my ignorance of talking to the registry for adapter info, I 
like the below for its uniformity.

frank


More information about the Vm-dev mailing list