http://bugs.winehq.org/show_bug.cgi?id=15590
--- Comment #36 from Hans Leidekker hans@meelstraat.net 2009-11-11 09:13:41 --- The situation has changed, bonjour now succeeds in binding specific addresses when the wildcard bind fails (could be caused by the commit mentioned in comment #32):
trace:winsock:WS_bind socket 0060, ptr 0x87e7c8 { family AF_INET, address 0.0.0.0, port 5353 }, length 16 warn:winsock:WS_bind failure - errno = 98 warn:winsock:wsaErrno errno 98, (Address already in use). ... fixme:iphlpapi:GetAdaptersAddresses no support for IPv6 addresses ... trace:winsock:WS_bind socket 00a4, ptr 0x97e978 { family AF_INET, address 192.168.0.7, port 5353 }, length 16
Which brings this situation:
# netstat -anp | grep 5353 udp 0 0 192.168.1.7:5353 0.0.0.0:* 13460/wineserver udp 0 0 192.168.0.7:5353 0.0.0.0:* 13460/wineserver udp 0 0 0.0.0.0:5353 0.0.0.0:* 12405/avahi-daemon:
So bonjour effectively steals traffic from avahi since the specific bind will take precedence over the wildcard bind.