From c8f7a731656d7522be7b2e7d6ab0dbd7ed472db5 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Tue, 25 Mar 2014 07:28:11 +0000 Subject: [PATCH] Re: r897: lowered NET_MAXMESSAGE and MAX_MSGLEN from 65536 to 64000. not happy with this limit bump at all, but let's see how it will turn out.. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@898 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/net.h | 2 +- Quake/quakedef.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Quake/net.h b/Quake/net.h index 68b2cc31..3345f4ac 100644 --- a/Quake/net.h +++ b/Quake/net.h @@ -33,7 +33,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define NET_NAMELEN 64 -#define NET_MAXMESSAGE 65536 /* ericw -- was 32000 */ +#define NET_MAXMESSAGE 64000 /* ericw -- was 32000 */ extern int DEFAULTnet_hostport; extern int net_hostport; diff --git a/Quake/quakedef.h b/Quake/quakedef.h index ebdc622b..b167dad3 100644 --- a/Quake/quakedef.h +++ b/Quake/quakedef.h @@ -71,7 +71,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define DIST_EPSILON (0.03125) // 1/32 epsilon to keep floating point happy (moved from world.c) -#define MAX_MSGLEN 65536 // max length of a reliable message //ericw -- was 32000 +#define MAX_MSGLEN 64000 // max length of a reliable message //ericw -- was 32000 #define MAX_DATAGRAM 32000 // max length of unreliable message //johnfitz -- was 1024 #define DATAGRAM_MTU 1400 // johnfitz -- actual limit for unreliable messages to nonlocal clients