src/network.h

changeset 181
8bda076d0a16
parent 179
5ef724e21702
child 182
04c65336777f
equal deleted inserted replaced
180:0fed680c487c 181:8bda076d0a16
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;

mercurial