How to Change the IP Address List Order Returned (171320)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional
- Microsoft Windows NT Workstation 4.0
- Microsoft Windows NT Server 4.0
This article was previously published under Q171320 SUMMARY The Windows Sockets gethostbyname() API can be used to
retrieve IP addresses assigned to a computer. If the host name sent in the
query is NULL, or the local host name of the computer, gethostbyname() will
return a list of IP addresses assigned to all network cards installed in the
computer.
Some third-party device drivers are sensitive about the IP
address order in the list returned by gethostbyname(); the device drivers
require that the IP address to which they are bound do not show up at the top
of the list.
Modification Type: | Major | Last Reviewed: | 6/3/2003 |
---|
Keywords: | kbinfo kbnetwork KB171320 |
---|
|