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