From e19dc9f825498b2c50c6c29d97aab17be77155d8 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sun, 20 Oct 2013 13:29:44 +0300 Subject: [PATCH] double maximum reliable window size --- ChangeLog | 3 +++ include/enet/protocol.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ce469e0..3fa3053 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +* doubled maximum reliable window size +* fixed RCVTIMEO/SNDTIMEO socket options and also added NODELAY + ENet 1.3.9 (August 19, 2013): * added duplicatePeers option to ENetHost which can limit the number of peers from duplicate IPs diff --git a/include/enet/protocol.h b/include/enet/protocol.h index 8e7beab..b8f8416 100644 --- a/include/enet/protocol.h +++ b/include/enet/protocol.h @@ -13,7 +13,7 @@ enum ENET_PROTOCOL_MAXIMUM_MTU = 4096, ENET_PROTOCOL_MAXIMUM_PACKET_COMMANDS = 32, ENET_PROTOCOL_MINIMUM_WINDOW_SIZE = 4096, - ENET_PROTOCOL_MAXIMUM_WINDOW_SIZE = 32768, + ENET_PROTOCOL_MAXIMUM_WINDOW_SIZE = 65536, ENET_PROTOCOL_MINIMUM_CHANNEL_COUNT = 1, ENET_PROTOCOL_MAXIMUM_CHANNEL_COUNT = 255, ENET_PROTOCOL_MAXIMUM_PEER_ID = 0xFFF,