src/network.h

changeset 51
84f2e380a434
parent 49
02c509a44e98
child 55
54ea19938d57
     1.1 --- a/src/network.h	Mon Jun 16 13:45:31 2014 +0200
     1.2 +++ b/src/network.h	Mon Jun 16 15:41:06 2014 +0200
     1.3 @@ -40,6 +40,7 @@
     1.4  #define NETCODE_ACCEPT 0x02
     1.5  #define NETCODE_DECLINE 0x04
     1.6  #define NETCODE_GAMEINFO 0x10
     1.7 +#define NETCODE_PGNDATA 0x11
     1.8  #define NETCODE_MOVE 0x20
     1.9  #define NETCODE_CHECK 0x22
    1.10  #define NETCODE_CHECKMATE 0x24
    1.11 @@ -49,7 +50,7 @@
    1.12  #define NETCODE_TIMEOVER 0x44
    1.13  #define NETCODE_CONNLOST 0x80
    1.14  
    1.15 -#define NETCODE_VERSION 15
    1.16 +#define NETCODE_VERSION 16
    1.17  
    1.18  typedef struct {
    1.19      int fd; /* -1, if we are the client */

mercurial