46 #define NETCODE_CHECK 0x23 |
46 #define NETCODE_CHECK 0x23 |
47 #define NETCODE_CHECKMATE 0x24 |
47 #define NETCODE_CHECKMATE 0x24 |
48 #define NETCODE_STALEMATE 0x25 |
48 #define NETCODE_STALEMATE 0x25 |
49 #define NETCODE_TIMEOVER 0x26 |
49 #define NETCODE_TIMEOVER 0x26 |
50 |
50 |
51 #define NETCODE_VERSION 11 |
51 #define NETCODE_VERSION 12 |
52 |
52 |
53 typedef struct { |
53 typedef struct { |
54 int fd; /* -1, if we are the client */ |
54 int fd; /* -1, if we are the client */ |
55 struct sockaddr address; |
55 struct sockaddr address; |
56 socklen_t address_len; |
56 socklen_t address_len; |