Skip to content
Permalink
Browse files

increased packet sizes to work better with yojimbo

  • Loading branch information...
gafferongames committed Apr 7, 2019
1 parent 0abf497 commit b5173ce38ad33147d5f136f8b361ec0388efec67
Showing with 3 additions and 3 deletions.
  1. +2 −2 netcode.c
  2. +1 −1 netcode.h
@@ -45,8 +45,8 @@
#define NETCODE_CONNECT_TOKEN_PRIVATE_BYTES 1024
#define NETCODE_CHALLENGE_TOKEN_BYTES 300
#define NETCODE_VERSION_INFO_BYTES 13
#define NETCODE_MAX_PACKET_BYTES 1200
#define NETCODE_MAX_PAYLOAD_BYTES 1100
#define NETCODE_MAX_PACKET_BYTES 1300
#define NETCODE_MAX_PAYLOAD_BYTES 1200
#define NETCODE_MAX_ADDRESS_STRING_LENGTH 256
#define NETCODE_PACKET_QUEUE_SIZE 256
#define NETCODE_REPLAY_PROTECTION_BUFFER_SIZE 256
@@ -71,7 +71,7 @@
#define NETCODE_CLIENT_STATE_CONNECTED 3

#define NETCODE_MAX_CLIENTS 256
#define NETCODE_MAX_PACKET_SIZE 1024
#define NETCODE_MAX_PACKET_SIZE 1200

#define NETCODE_LOG_LEVEL_NONE 0
#define NETCODE_LOG_LEVEL_ERROR 1

0 comments on commit b5173ce

Please sign in to comment.
You can’t perform that action at this time.