From 870779bfb0bbb798aace21a76b4fd6b28eac60d1 Mon Sep 17 00:00:00 2001 From: eihrul Date: Fri, 12 Oct 2007 02:27:45 +0000 Subject: *** empty log message *** --- include/enet/enet.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/enet/enet.h b/include/enet/enet.h index 2ba8340..04e3011 100644 --- a/include/enet/enet.h +++ b/include/enet/enet.h @@ -143,6 +143,7 @@ typedef struct _ENetOutgoingCommand enet_uint32 roundTripTimeoutLimit; enet_uint32 fragmentOffset; enet_uint16 fragmentLength; + enet_uint16 sendAttempts; ENetProtocol command; ENetPacket * packet; } ENetOutgoingCommand; @@ -198,7 +199,9 @@ enum ENET_PEER_TIMEOUT_MINIMUM = 5000, ENET_PEER_TIMEOUT_MAXIMUM = 30000, ENET_PEER_PING_INTERVAL = 500, - ENET_PEER_UNSEQUENCED_WINDOW_SIZE = 4 * 32 + ENET_PEER_UNSEQUENCED_WINDOW_SIZE = 4 * 32, + ENET_PEER_RELIABLE_WINDOWS = 16, + ENET_PEER_RELIABLE_WINDOW_SIZE = 0x1000 }; typedef struct _ENetChannel @@ -209,6 +212,8 @@ typedef struct _ENetChannel enet_uint16 incomingUnreliableSequenceNumber; ENetList incomingReliableCommands; ENetList incomingUnreliableCommands; + enet_uint16 currentReliableWindow; + enet_uint16 reliableWindows [ENET_PEER_RELIABLE_WINDOWS]; } ENetChannel; /** -- cgit v1.2.3