Created
February 18, 2021 18:14
-
-
Save Riesi/44fa0b53fa58fa9347a5364e7b549bd7 to your computer and use it in GitHub Desktop.
Fixes The Guild 2 Mupltiplayer with native DirectPlay in wine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c | |
index 6e783f87ee7..55d4ac5f04e 100644 | |
--- a/dlls/ws2_32/socket.c | |
+++ b/dlls/ws2_32/socket.c | |
@@ -4966,8 +4966,10 @@ INT WINAPI WSAIoctl(SOCKET s, DWORD code, LPVOID in_buff, DWORD in_size, LPVOID | |
completion = NULL; | |
overlapped = NULL; | |
} | |
- else | |
+ else{ | |
+ status = 0 ; | |
FIXME("unsupported WS_IOCTL cmd (%s)\n", debugstr_wsaioctl(code)); | |
+ } | |
} | |
if (completion) |
Author
Riesi
commented
Feb 18, 2021
SIO_ENABLE_CIRCULAR_QUEUEING
only impacts data queuing behavior of WS in high packet pressure scenarios.
https://www.winsocketdotnetworkprogramming.com/winsock2programming/winsock2advancedsocketoptionioctl7e.html
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment