BUG: Call to WSAIoctl with SIO_GET_INTERFACE_LIST Option FailsLast reviewed: July 1, 1997Article ID: Q170642 |
The information in this article applies to:
SYMPTOMSWhen the SIO_GET_INTERFACE_LIST option is used in a call to WSAIoctl( ), the API returns WSAENOPROTOOPT or sometimes causes an access violation in wshtcpip.dll. As a result of this behavior, you cannot get a descriptive list of the network interfaces on your machine.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONWinsock2 has new functionality that enables you to obtain information about the network interfaces supported by your machine. Some of the information returned for each interface is: IP address Subnet Mask Broadcast Address, etc. You should have been able to get this information by making a call to the WSAIoctl( ) API with the SIO_GET_INTERFACE_LIST option. However, due to the bug mentioned above, the API fails with error WSAENOPROTOOPT or sometimes causes an access violation in wshtcpip.dll. |
Keywords : NtwkWinsock
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |