mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Reduce max udp packet size to 2K.
This commit is contained in:
parent
7ec83c3623
commit
9cb0c98a9c
|
@ -92,7 +92,7 @@ typedef int sock_t;
|
||||||
#endif
|
#endif
|
||||||
#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_REQUEST 0 /* Ping request packet ID. */
|
||||||
#define NET_PACKET_PING_RESPONSE 1 /* Ping response packet ID. */
|
#define NET_PACKET_PING_RESPONSE 1 /* Ping response packet ID. */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user