http://bugs.winehq.org/show_bug.cgi?id=24206
Summary: hanging up thread with recvfrom after "shutdown" Product: Wine Version: 1.3.1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winsock AssignedTo: wine-bugs@winehq.org ReportedBy: thunder_8888@mail.ru
Created an attachment (id=30477) --> (http://bugs.winehq.org/attachment.cgi?id=30477) trace
1. When game want to shutdown udp socket - recvfrom don't recieve 0xFFFFFFFF, and still wait other messages from closed and shutdowned socket. While this, game wait when thread with recvfrom end's, but thread want's go to end and stopped on recvfrom. (when i patch game, and force close thread with recvfrom - it's normally continue)
2. Appears "WS2_sendto -> ERROR 10022" before game shutdown socket (game send 1-byte to thread with recvfrom), because sendto want to send data to port 0, in windows, i suppose, it sends to all binded port's to this socket. (if i patch game, and use my call to getsockname and give right port number - this error don't appear).