http://bugs.winehq.org/show_bug.cgi?id=31994
--- Comment #41 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Erich Hoover from comment #40)
You know, another way to solve this might be to just turn on broadcast packets if the program binds to a specific interface with a UDP socket. AJ might not be a fan of that though.
Well, the behavior of XP is inconsistent with the rest. Windows XP will do a broadcast if the address is x.x.x.255, other versions will not.
2000/7/2008/8: sendto(255.255.255.255)+SO_BROADCAST=0 does NOT WORK (as expected) sendto(255.255.255.255)+SO_BROADCAST=1 WORKS (as expected) recvfrom() from the last sendto WORKS sendto(x.x.x.255)+SO_BROADCAST=0 does not WORK
XP: sendto(255.255.255.255)+SO_BROADCAST=0 does not WORK (as expected) sendto(255.255.255.255)+SO_BROADCAST=1 WORKS (as expected) recvfrom() from the last sendto does NOT WORK sendto(x.x.x.255)+SO_BROADCAST=0 WORKS -- this is what this bug is about