Article ID: 186312
Article Last Modified on 2/22/2007
APPLIES TO
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional Edition
- Microsoft Windows NT Server 4.0 Standard Edition
- Microsoft Windows NT Workstation 4.0 Developer Edition
- Microsoft Windows 98 Standard Edition
- Microsoft Windows 95
This article was previously published under Q186312
SUMMARY
Intrfc.exe is a sample that demonstrates how to programmatically enumerate
IP interface information, such as a system's IP address, subnet mask, and
broadcast address, using the WSAIoctl() API with the SIO_GET_INTERFACE_LIST
option. In addition, Intrfc.exe demonstrates how to interpret IP status
flags for each IP interface. The flags are defined in the Windows Sockets 2
Protocol-Specific Annex specification which can be found in the January 98
MSDN Platform SDK or later.
Keywords: kbapi kbfile kbip kbnetwork kbsample kbwinsock KB186312