From c8cb126fd852d7dadd2969ab8afdb553108bc43d Mon Sep 17 00:00:00 2001 From: Glenn Fiedler Date: Tue, 17 Sep 2024 21:31:55 -0400 Subject: [PATCH] excluding differences between client and server sockets now... --- netcode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netcode.c b/netcode.c index e02bb1f..204bcf4 100755 --- a/netcode.c +++ b/netcode.c @@ -52,8 +52,8 @@ #define NETCODE_REPLAY_PROTECTION_BUFFER_SIZE 256 #define NETCODE_CLIENT_MAX_RECEIVE_PACKETS 64 #define NETCODE_SERVER_MAX_RECEIVE_PACKETS ( 64 * NETCODE_MAX_CLIENTS ) -#define NETCODE_CLIENT_SOCKET_SNDBUF_SIZE ( 256 * 1024 ) -#define NETCODE_CLIENT_SOCKET_RCVBUF_SIZE ( 256 * 1024 ) +#define NETCODE_CLIENT_SOCKET_SNDBUF_SIZE ( 4 * 1024 * 1024 ) +#define NETCODE_CLIENT_SOCKET_RCVBUF_SIZE ( 4 * 1024 * 1024 ) #define NETCODE_SERVER_SOCKET_SNDBUF_SIZE ( 4 * 1024 * 1024 ) #define NETCODE_SERVER_SOCKET_RCVBUF_SIZE ( 4 * 1024 * 1024 )