src/network.h

changeset 49
02c509a44e98
parent 48
0cedda2544da
child 51
84f2e380a434
equal deleted inserted replaced
48:0cedda2544da 49:02c509a44e98
47 #define NETCODE_RESIGN 0x41 47 #define NETCODE_RESIGN 0x41
48 #define NETCODE_REMIS 0x42 48 #define NETCODE_REMIS 0x42
49 #define NETCODE_TIMEOVER 0x44 49 #define NETCODE_TIMEOVER 0x44
50 #define NETCODE_CONNLOST 0x80 50 #define NETCODE_CONNLOST 0x80
51 51
52 #define NETCODE_VERSION 14 52 #define NETCODE_VERSION 15
53 53
54 typedef struct { 54 typedef struct {
55 int fd; /* -1, if we are the client */ 55 int fd; /* -1, if we are the client */
56 struct sockaddr address; 56 struct sockaddr address;
57 socklen_t address_len; 57 socklen_t address_len;

mercurial