I got a special case here where WSAGetLastError returns 126 (ERROR_MOD_NOT_FOUND)
it happens here:
|
if(WSAGetLastError() == WSAEWOULDBLOCK || WSAGetLastError() == WSAECONNRESET) |
The result of it is that the socket will be closed and the multiplayer part doesn't work anymore:
ipxwrapper.zip
I added ERROR_MOD_NOT_FOUND to your WSAEWOULDBLOCK and WSAECONNRESET check so the error gets ignored. It does fix the problem, but I'm not sure if that's the correct solution?
I don't understand how it could return ERROR_MOD_NOT_FOUND on WSAGetLastError, you have any ideas what's up with that?