src/network.h

changeset 41
a8346dcf7bbf
parent 34
c4d4b8a8f902
child 43
12141136a0da
equal deleted inserted replaced
40:47162a7621da 41:a8346dcf7bbf
46 #define NETCODE_CHECK 0x23 46 #define NETCODE_CHECK 0x23
47 #define NETCODE_CHECKMATE 0x24 47 #define NETCODE_CHECKMATE 0x24
48 #define NETCODE_STALEMATE 0x25 48 #define NETCODE_STALEMATE 0x25
49 #define NETCODE_TIMEOVER 0x26 49 #define NETCODE_TIMEOVER 0x26
50 50
51 #define NETCODE_VERSION 11 51 #define NETCODE_VERSION 12
52 52
53 typedef struct { 53 typedef struct {
54 int fd; /* -1, if we are the client */ 54 int fd; /* -1, if we are the client */
55 struct sockaddr address; 55 struct sockaddr address;
56 socklen_t address_len; 56 socklen_t address_len;

mercurial