I'm using gethostbyname to get IP address by a computer name on a LAN, but sometimes it returns more than one IP for one name. But how can that be? And if that happens how to get _The_ IP to be used to connect to that particular PC?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Threaded View
|
Click Here to Expand Forum to Full Width |