19 Aug
2004
19 Aug
'04
5:46 p.m.
--- Robert Reif <reif(a)earthlink.net> wrote:
It's gethostbyname that has the problem.
Oops, you're right, I didn't read your code that closely. What I said earlier is still appropriate though: you can call something in iphlpapi, like GetAdaptersInfo, or perhaps GetIpAddrTable. You could also use WSAIoctl. Take a look at dlls/winsock/socket.c; you'd want to modify WS_gethostbyname, and it already calls GetAdaptersInfo to implement WSAIoctl. Do you have an app that depends on this, or are you just trying to get the network interface addresses? --Juan __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail