mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
change skynet_send api (use uint32_t instead of string)
This commit is contained in:
@@ -2,7 +2,7 @@ local skynet = require "skynet"
|
||||
|
||||
skynet.dispatch(function(msg, sz , session , from)
|
||||
local message = skynet.tostring(msg,sz)
|
||||
print("[GLOBALLOG]", from,message)
|
||||
print("[GLOBALLOG]", skynet.address(from),message)
|
||||
end)
|
||||
|
||||
skynet.register "LOG"
|
||||
Reference in New Issue
Block a user