http://bugs.winehq.org/show_bug.cgi?id=33791
Bug #: 33791 Summary: UPD socket does not react to packets from the same machine Product: Wine Version: 1.5.31 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: winsock AssignedTo: wine-bugs@winehq.org ReportedBy: oblovatniy@gmail.com Classification: Unclassified
Created attachment 44774 --> http://bugs.winehq.org/attachment.cgi?id=44774 traffic schemas
I have a dedicated game server (for IL-2 Sturmovik), which I run under Wine. This server has an opened UDP port which provides access to server's API.
The problem is when I run the server on localhost and try to send data to UDP socket it does not react. Wireshark shows that there was a packet transmission. Running Wine with WINEDEBUG="+winsock" shows that after sending data nothing happens. This issue is related only to localhost-to-localhost connection.
If I run server on Linux machine A (LM:A) and try to connect from Linux machine B (LM:B), then it's OK. If I try to connect to LM:A from Windows machine A (WM:A) then it's OK either. If I run server on WM:A and try to connect from any LM, then it's OK. If I try to connect to WM:A from the same WM:A or from WM:B, then it's OK again. So, the server itself seems to work correctly, but if I run server on LM:A and try to connect from the same LM:A then just nothing happens.
Here is a topic on the forum: http://forum.winehq.org/viewtopic.php?f=8&t=19092
http://bugs.winehq.org/show_bug.cgi?id=33791
Alexander Oblovatniy oblovatniy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ipc
http://bugs.winehq.org/show_bug.cgi?id=33791
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|ipc | Summary|UPD socket does not react |UDP socket does not react |to packets from the same |to packets from the same |machine |machine Severity|critical |normal
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2013-06-12 11:41:23 CDT --- Most likely related to bug 33753 or bug 33008.
Not critical, read http://bugs.winehq.org/page.cgi?id=fields.html#importance
http://bugs.winehq.org/show_bug.cgi?id=33791
--- Comment #2 from Alexander Oblovatniy oblovatniy@gmail.com 2013-06-12 11:49:08 CDT --- People on the forum have already pointed to that bugs. But the main thing is that socked does not totally deaf, it works nicely if you interact with it from any remote machine which is under any OS. The problem is if you send data to the socket from the SAME machine and it does not matter if you are connected to any network or not
http://bugs.winehq.org/show_bug.cgi?id=33791
--- Comment #3 from Alexander Oblovatniy oblovatniy@gmail.com 2013-06-12 11:51:03 CDT --- yes, it's not critical. sorry. just got air-collision when i was changing the priority
http://bugs.winehq.org/show_bug.cgi?id=33791
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com 2013-06-12 12:07:14 CDT --- I see reference to bug 33008 but not bug 33753 in the forum, so I guess you could try the patch from http://bugs.winehq.org/show_bug.cgi?id=33753#c14
Comment 13 from that bug states the problem may be related to the program sending packets to itself, that's why I think this is related.
http://bugs.winehq.org/show_bug.cgi?id=33791
--- Comment #5 from Alexander Oblovatniy oblovatniy@gmail.com 2013-06-12 13:41:26 CDT --- Yes, you are right! I've just compiled 1.6-rc1 with those patch and everything works like a charm. Thank you very much! Thank you! Thank you! Thank you!
http://bugs.winehq.org/show_bug.cgi?id=33791
Alexander Oblovatniy oblovatniy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #6 from Alexander Oblovatniy oblovatniy@gmail.com 2013-06-12 13:44:53 CDT --- Resolved after applying patch http://bugs.winehq.org/attachment.cgi?id=44703&action=diff
*** This bug has been marked as a duplicate of bug 33753 ***
http://bugs.winehq.org/show_bug.cgi?id=33791
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Bruno Jesus 00cpxxx@gmail.com 2013-06-12 14:04:52 CDT --- Closing =)