mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
reserved protocol type id
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user