http://bugs.winehq.org/show_bug.cgi?id=31994
--- Comment #13 from Bruno Jesus 00cpxxx@gmail.com 2012-10-23 07:42:13 CDT --- I'm pretty sure this was discussed before but I could not find it. You could try forcing SO_BROADCAST in the socket. Do something like this inside WS2_sendto after "if ( fd == -1 ) return SOCKET_ERROR;"
n=1; setsockopt(fd,SOL_SOCKET,SO_BROADCAST,&n,sizeof(n));
I'm away from linux so I can't create a diff, sorry.