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