From 97a4844094aa03f939a736146d79d948c06ae10c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E9=A3=8E?= Date: Mon, 19 Aug 2013 17:15:14 +0800 Subject: [PATCH] reserved protocol type id --- skynet-src/skynet.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/skynet-src/skynet.h b/skynet-src/skynet.h index 1ca380f2..83831f90 100644 --- a/skynet-src/skynet.h +++ b/skynet-src/skynet.h @@ -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