reserved protocol type id

This commit is contained in:
云风
2013-08-19 17:15:14 +08:00
parent 93c0e257e7
commit 97a4844094

View File

@@ -10,6 +10,14 @@
#define PTYPE_CLIENT 3
#define PTYPE_SYSTEM 4
#define PTYPE_HARBOR 5
#define PTYPE_SOCKET 6
// don't use these id
#define PTYPE_RESERVED_0 7
#define PTYPE_RESERVED_1 8
// read lualib/skynet.lua
#define PTYPE_RESERVED_DEBUG 9
#define PTYPE_RESERVED_LUA 10
#define PTYPE_TAG_DONTCOPY 0x10000
#define PTYPE_TAG_ALLOCSESSION 0x20000