aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authoreihrul <eihrul>2007-10-12 02:27:45 +0000
committereihrul <eihrul>2007-10-12 02:27:45 +0000
commit870779bfb0bbb798aace21a76b4fd6b28eac60d1 (patch)
treea55e3a923f4aec2089bac588be991c9147264da3 /include
parentf4d0dc72926f8eab910d19af3cd59aa60e7ce8e7 (diff)
downloadenet-870779bfb0bbb798aace21a76b4fd6b28eac60d1.tar.gz
enet-870779bfb0bbb798aace21a76b4fd6b28eac60d1.zip
*** empty log message ***
Diffstat (limited to 'include')
-rw-r--r--include/enet/enet.h7
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;
/**