http://bugs.winehq.org/show_bug.cgi?id=18670
--- Comment #30 from Dmitry Timoshkov dmitry@codeweavers.com 2009-12-08 06:42:12 --- Currently WSACleanup() does nothing in Wine, while MSDN claims that it's supposed to do clean up:
"When WSACleanup is called, any pending blocking or asynchronous Windows Sockets calls issued by any thread in this process are canceled without posting any notification messages or without signaling any event objects. Any pending overlapped send or receive operations (WSASend, WSASendTo, WSARecv, or WSARecvFrom with an overlapped socket, for example) issued by any thread in this process are also canceled without setting the event object or invoking the completion routine, if one was specified. In this case, the pending overlapped operations fail with the error status WSA_OPERATION_ABORTED."