http://bugs.winehq.org/show_bug.cgi?id=31994
--- Comment #17 from Erich Hoover ehoover@mines.edu 2012-10-23 09:25:15 CDT --- Created attachment 42240 --> http://bugs.winehq.org/attachment.cgi?id=42240 Enable SO_BROADCAST for interface-specific broadcasts
(In reply to comment #16)
... Maybe windows checks the destination IP and automagically set SO_BROADCAST and then disables before the function return. I have used UDP broadcast for a long time in VB6 before finding out what was SO_BROADCAST.
Did you broadcast to 255.255.255.255 or did you have a case like the one here? I was thinking something like that (see attachment), though it could pose problems in a multithreaded environment. I guess you could throw a critical section around it, but that sounds horrible.