C 言語関数:GetBestInterface サンプルコード

サンプルコードを検索した結果です。


TITLE : GetBestRoute function (Windows)
DWORD GetBestInterface(.......
http://msdn.microsoft.com/ja-jp/library/windows/desktop/aa365920(v=vs.85).aspx


TITLE : c# - Identifying active network interface - Stack Overflow
Another option is to use P/Invoke and call GetBestInterface() to get the interface index, then again loop over all the network interfaces. As before, you'll have to dig through GetIPProperties() to get to the IPv4InterfaceProperties.Index property)........
http://stackoverflow.com/questions/359596/identifying-active-network-interface
TITLE : IP Helper API: Retrieving Basic Information - Developer.com
DWORD dwRes = GetBestInterface(dwDestAddr, &dwBestIfIndex);.......
http://www.developer.com/ws/pc/article.php/10947_3406411_3/IP-Helper-API-Retrieving-Basic-Information.htm
TITLE : pinvoke.net: getbestinterface (iphlpapi)
static extern int GetBestInterface(UInt32 DestAddr, out UInt32 BestIfIndex);.......
http://www.pinvoke.net/default.aspx/iphlpapi.getbestinterface
TITLE : pinvoke.net: getbestinterface (iphlpapi)
public static extern int GetBestInterface(UInt32 destAddr, out UInt32 bestIfIndex);.......
http://www.pinvoke.net/default.aspx/iphlpapi.getbestinterface
TITLE : pinvoke.net: getbestinterface (iphlpapi)
int result = Win32ApiCalls.GetBestInterface(ipv4AddressAsUInt32, out interfaceindex);.......
http://www.pinvoke.net/default.aspx/iphlpapi.getbestinterface
Googleで検索

https://www.google.co.jp/#q=GetBestInterface