http://bugs.winehq.org/show_bug.cgi?id=8075
------- Additional Comments From d13f00l@gmail.com 2007-08-05 14:00 ------- Briareos,
gethostbyname(gethostname()) under windows will return a list of IPs of all network devices in windows, with the device added last on top. Wine just uses the os's implementation of gethostbyname(), so it'll just read your /etc/hosts file under linux
Multiple "interfaces" may or may not show up in windows programs running under wine, depending on how your linux distro is set up.
Applications running under wine may rely on the list of ips returned from gethostbyname() to create dialogs like that.
It'd be nice if there was a way to get how long interfaces have been up for...