Skip to content

Commit

Permalink
increased packet sizes to work better with yojimbo
Browse files Browse the repository at this point in the history
  • Loading branch information
gafferongames committed Apr 7, 2019
1 parent 0abf497 commit b5173ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions netcode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion netcode.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5173ce

Please sign in to comment.