client send session 0x7fffffff

This commit is contained in:
云风
2012-08-10 19:20:58 +08:00
parent 85f353b679
commit 70271817a1
4 changed files with 8 additions and 5 deletions

View File

@@ -3,8 +3,7 @@ local client = ...
local session_id = 0
skynet.filter(function (session, address , msg, sz)
if address == client then
assert(session == 0)
if session == 0x7fffffff then
print("client message",skynet.tostring(msg,sz))
-- It's client, there is no session
session_id = session_id + 1