src/network.h

changeset 130
3fc6b1d6cbe9
parent 114
12df1b7c792f
equal deleted inserted replaced
129:189c7c77aaab 130:3fc6b1d6cbe9
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;

mercurial