diff options
author | eihrul <eihrul> | 2012-01-06 15:11:04 +0000 |
---|---|---|
committer | eihrul <eihrul> | 2012-01-06 15:11:04 +0000 |
commit | 78222dc79e720686028f59bdc8b29b10dbc18cfa (patch) | |
tree | 8c454c49c2f9101c9c8400231e652b024ba3be44 /include | |
parent | 27d8c07142f9b469d1a62bf41435b074a7281e5f (diff) | |
download | enet-78222dc79e720686028f59bdc8b29b10dbc18cfa.tar.gz enet-78222dc79e720686028f59bdc8b29b10dbc18cfa.zip |
sanity checks
Diffstat (limited to 'include')
-rw-r--r-- | include/enet/protocol.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/enet/protocol.h b/include/enet/protocol.h index faef917..f8a27d8 100644 --- a/include/enet/protocol.h +++ b/include/enet/protocol.h @@ -16,7 +16,9 @@ enum ENET_PROTOCOL_MAXIMUM_WINDOW_SIZE = 32768, ENET_PROTOCOL_MINIMUM_CHANNEL_COUNT = 1, ENET_PROTOCOL_MAXIMUM_CHANNEL_COUNT = 255, - ENET_PROTOCOL_MAXIMUM_PEER_ID = 0xFFF + ENET_PROTOCOL_MAXIMUM_PEER_ID = 0xFFF, + ENET_PROTOCOL_MAXIMUM_PACKET_SIZE = 1024 * 1024 * 1024, + ENET_PROTOCOL_MAXIMUM_FRAGMENT_COUNT = 1024 * 1024 }; typedef enum _ENetProtocolCommand |