src/network.h

changeset 48
0cedda2544da
parent 46
4dcfb4c58b6d
child 49
02c509a44e98
equal deleted inserted replaced
47:d726e4b46c33 48:0cedda2544da
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 13 52 #define NETCODE_VERSION 14
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