--- deliantra/server/include/network.h 2007/07/29 02:24:34 1.16 +++ deliantra/server/include/network.h 2007/07/29 19:11:47 1.17 @@ -47,10 +47,10 @@ /* Maximum size of any packet we expect. * - * The size must be the same in the server and the client (stupid), and its also NOT - * the maximum buffer size as one would expect, but the maximum buffer size + 1. + * The size must be the same in the server and the client (stupid). + * TODO: make the actual network configurable per clietn and use 2**16. */ -#define MAXSOCKBUF 10240 +#define MAXSOCKBUF 10239 #define CS_QUERY_YESNO 0x1 /* Yes/no question */ #define CS_QUERY_SINGLECHAR 0x2 /* Single character response expected */