http://bugs.winehq.org/show_bug.cgi?id=5240
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ehoover@mines.edu
--- Comment #16 from Bruno Jesus 00cpxxx@gmail.com 2012-04-17 23:51:56 CDT --- Erich, can you give me a hint here?
This program opens 0.0.0.0:950, sets SO_BROADCAST and sends a message to 255.255.255.255:950 (it's own port). It does that so it can get the local computer IP by receiving it's own message.
After receiving it's own broadcast it closes the socket (0.0.0.0:950) and opens a new socket using the received address, let's suppose 192.168.0.1:950. It again sets SO_BROADCAST in this new socket and sends a new broadcast, now to 192.168.0.255:950 expecting it to arrive to itself again. But this second messages never arrives... It keeps sending this message in a regular interval but as it does not receive it the program does not behave correctly.
The sockets are UDP.