gethostbyname(my_name) and IL2-Sturmovik CONTINUED

Maarten Lankhorst m.b.lankhorst at
Sat Apr 21 03:46:24 CDT 2007

Kai Blin schreef:
> I'm not really surprised. That's the reason why gethostbyname  is deprecated, 
> if I read MSDN correctly. Anyhow, it looks like Windows doesn't return 
> unless it doesn't have any other IP address to return. Programs 
> can't count on which NIC's IP that will be, though.
Worth noting: Ubuntu resolves hostname to by default, might
want to check for 127/8 explicitly instead of just


More information about the wine-devel mailing list