From 399d549d0c022d1f94e9fa189fa8b9e40702548a Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 17 Nov 2024 03:12:20 +0300 Subject: [PATCH] engine: net_ws: request Winsock 2 --- engine/common/net_ws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/net_ws.c b/engine/common/net_ws.c index 03454910..21cc89ba 100644 --- a/engine/common/net_ws.c +++ b/engine/common/net_ws.c @@ -2057,7 +2057,7 @@ void NET_Init( void ) } #if XASH_WIN32 - if( WSAStartup( MAKEWORD( 1, 1 ), &net.winsockdata )) + if( WSAStartup( MAKEWORD( 2, 0 ), &net.winsockdata )) { Con_DPrintf( S_ERROR "network initialization failed.\n" ); return;