Closed carlo-bramini closed 11 months ago
WSAGetLastError() returns WSAEINVAL (10022), not EINVAL (22). See also here: https://learn.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2
WSAGetLastError()
WSAEINVAL
EINVAL
WSAGetLastError()
returnsWSAEINVAL
(10022), notEINVAL
(22). See also here: https://learn.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2