How to get gateway address using GetAdaptersAddresses?
- From: "Tim Ward" <tim@xxxxxxxxxxxxxxx>
- Date: Thu, 31 Jan 2008 13:47:27 -0000
The gateway address is clearly visible in the results returned by
GetAdaptersInfo.
However the spec says:
"Windows Server 2003 and Windows XP: Use the GetAdaptersAddresses function
instead of GetAdaptersInfo."
Where in what is returned by GetAdaptersAddresses is the gateway address?
What goes wrong if I ignore this instruction and use GetAdaptersInfo?
--
Tim Ward - posting as an individual unless otherwise clear
Brett Ward Limited - www.brettward.co.uk
Cambridge Accommodation Notice Board - www.brettward.co.uk/canb
Cambridge City Councillor
.
- Follow-Ups:
- Re: How to get gateway address using GetAdaptersAddresses?
- From: Volodymyr Shcherbyna
- Re: How to get gateway address using GetAdaptersAddresses?
- Prev by Date: Whats going on here...?
- Next by Date: Re: Multihomed m/c, bind and MSG_DONTROUTE
- Previous by thread: Whats going on here...?
- Next by thread: Re: How to get gateway address using GetAdaptersAddresses?
- Index(es):
Relevant Pages
|
Loading