https://bugs.winehq.org/show_bug.cgi?id=43286
Bug ID: 43286 Summary: Qt 5.7.0 based: Cannot read UDP packets: "errno 90, (Message too long)" Product: Wine Version: 2.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs@winehq.org Reporter: winehq@supradigital.org Distribution: ---
Created attachment 58625 --> https://bugs.winehq.org/attachment.cgi?id=58625 Binary, source code, debug log
In any program using Qt 5.7.0, if you try to read a udp datagram packet, the call would always return size 0 and leave you with an empty peer-address/port as well.
I discovered the problem in the launcher for my game which uses UDP to ping various servers.
I wrote a minimal UDP server to which you can connect with netcat (or anything) and it easily reproduces the problem.
Attached you'll find a small archive containing:
- minimal udp test server - source code for that server - debug log with +winsock showing the error - the client netcat command to cause that error
Note: I have not checked a simple raw UDP server using the winsock API directly.
The problem exists at least since wine v1.6.2