[server] fix FD_READ signaling for datagram sockets

Damjan Jovanovic damjan.jov at gmail.com
Tue May 15 00:46:43 CDT 2007

Some (IMO poorly written) apps expect that when they receive a FD_READ
message, a subsequent attempt to read data from that datagram socket
will never fail, not even with an innocent EWOULDBLOCK.

* When polling a datagram socket says there is data to read, verify
that before delivering the FD_READ message to the application
* Closes #5774 (udp traffic stops after a while with emule, uTorrent)

Damjan Jovanovic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wineserver_udp.patch
Type: text/x-patch
Size: 1358 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070515/5a846e34/wineserver_udp.bin

More information about the wine-patches mailing list