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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@898 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2014-03-25 07:28:11 +00:00
parent b223fa293d
commit a4a2cbb506
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define NET_NAMELEN 64 #define NET_NAMELEN 64
#define NET_MAXMESSAGE 65536 /* ericw -- was 32000 */ #define NET_MAXMESSAGE 64000 /* ericw -- was 32000 */
extern int DEFAULTnet_hostport; extern int DEFAULTnet_hostport;
extern int net_hostport; extern int net_hostport;

View file

@ -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 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 MAX_DATAGRAM 32000 // max length of unreliable message //johnfitz -- was 1024
#define DATAGRAM_MTU 1400 // johnfitz -- actual limit for unreliable messages to nonlocal clients #define DATAGRAM_MTU 1400 // johnfitz -- actual limit for unreliable messages to nonlocal clients