| 52 #define NETCODE_TIMEOVER 0x44 |
52 #define NETCODE_TIMEOVER 0x44 |
| 53 #define NETCODE_AGAIN 0x70 |
53 #define NETCODE_AGAIN 0x70 |
| 54 #define NETCODE_CONNLOST 0x80 |
54 #define NETCODE_CONNLOST 0x80 |
| 55 #define NETCODE_ERROR 0xFF |
55 #define NETCODE_ERROR 0xFF |
| 56 |
56 |
| 57 #define NETCODE_VERSION 20 |
57 #define NETCODE_VERSION 21 |
| 58 |
58 |
| 59 typedef struct { |
59 typedef struct { |
| 60 int fd; /* -1, if we are the client */ |
60 int fd; /* -1, if we are the client */ |
| 61 struct sockaddr address; |
61 struct sockaddr address; |
| 62 socklen_t address_len; |
62 socklen_t address_len; |