ConnectX 3.0
ConnectX Game Suite
Loading...
Searching...
No Matches
Protocol Namespace Reference

Namespaces

namespace  ErrorCode
 

Variables

constexpr uint32_t VERSION = 1
 
constexpr uint16_t DEFAULT_PORT = 8080
 
constexpr size_t MAX_MESSAGE_SIZE = 8192
 
constexpr uint32_t HEARTBEAT_INTERVAL_MS = 30000
 
constexpr uint32_t CONNECTION_TIMEOUT_MS = 60000
 
constexpr uint8_t MAX_PLAYERS = 4
 
constexpr uint8_t MIN_BOARD_SIZE = 4
 
constexpr uint8_t MAX_BOARD_SIZE = 20
 
constexpr uint8_t MAX_PLAYER_NAME_LENGTH = 32
 

Variable Documentation

◆ CONNECTION_TIMEOUT_MS

constexpr uint32_t Protocol::CONNECTION_TIMEOUT_MS = 60000
constexpr

◆ DEFAULT_PORT

constexpr uint16_t Protocol::DEFAULT_PORT = 8080
constexpr

◆ HEARTBEAT_INTERVAL_MS

constexpr uint32_t Protocol::HEARTBEAT_INTERVAL_MS = 30000
constexpr

◆ MAX_BOARD_SIZE

constexpr uint8_t Protocol::MAX_BOARD_SIZE = 20
constexpr

◆ MAX_MESSAGE_SIZE

constexpr size_t Protocol::MAX_MESSAGE_SIZE = 8192
constexpr

◆ MAX_PLAYER_NAME_LENGTH

constexpr uint8_t Protocol::MAX_PLAYER_NAME_LENGTH = 32
constexpr

◆ MAX_PLAYERS

constexpr uint8_t Protocol::MAX_PLAYERS = 4
constexpr

◆ MIN_BOARD_SIZE

constexpr uint8_t Protocol::MIN_BOARD_SIZE = 4
constexpr

◆ VERSION

constexpr uint32_t Protocol::VERSION = 1
constexpr