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