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 )