diff options
author | eihrul <eihrul> | 2007-10-12 02:27:45 +0000 |
---|---|---|
committer | eihrul <eihrul> | 2007-10-12 02:27:45 +0000 |
commit | 870779bfb0bbb798aace21a76b4fd6b28eac60d1 (patch) | |
tree | a55e3a923f4aec2089bac588be991c9147264da3 /include | |
parent | f4d0dc72926f8eab910d19af3cd59aa60e7ce8e7 (diff) | |
download | enet-870779bfb0bbb798aace21a76b4fd6b28eac60d1.tar.gz enet-870779bfb0bbb798aace21a76b4fd6b28eac60d1.zip |
*** empty log message ***
Diffstat (limited to 'include')
-rw-r--r-- | include/enet/enet.h | 7 |
1 files changed, 6 insertions, 1 deletions
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; /** |