[Bug 5240] PonyChat is unable to connect other users.

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 17 23:51:56 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=5240

Bruno Jesus <00cpxxx at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ehoover at mines.edu

--- Comment #16 from Bruno Jesus <00cpxxx at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list