| 45 #define NETCODE_REMIS 0x22 |
45 #define NETCODE_REMIS 0x22 |
| 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 |
49 |
| 50 #define NETCODE_VERSION 7 |
50 #define NETCODE_VERSION 10 |
| 51 |
51 |
| 52 typedef struct { |
52 typedef struct { |
| 53 int fd; /* -1, if we are the client */ |
53 int fd; /* -1, if we are the client */ |
| 54 struct sockaddr address; |
54 struct sockaddr address; |
| 55 socklen_t address_len; |
55 socklen_t address_len; |