From 9cb0c98a9c67a930cf8c29c1df212f2b8023049c Mon Sep 17 00:00:00 2001 From: irungentoo Date: Wed, 17 Sep 2014 21:01:08 -0400 Subject: Reduce max udp packet size to 2K. --- toxcore/network.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toxcore') diff --git a/toxcore/network.h b/toxcore/network.h index 1f4b757c..b250604e 100644 --- a/toxcore/network.h +++ b/toxcore/network.h @@ -92,7 +92,7 @@ typedef int sock_t; #endif #endif -#define MAX_UDP_PACKET_SIZE 65507 +#define MAX_UDP_PACKET_SIZE 2048 #define NET_PACKET_PING_REQUEST 0 /* Ping request packet ID. */ #define NET_PACKET_PING_RESPONSE 1 /* Ping response packet ID. */ -- cgit v1.2.3