multicast support remote publish/subscribe

This commit is contained in:
Cloud Wu
2014-04-29 21:56:58 +08:00
parent fa6191d9ed
commit 5ce65055d2
6 changed files with 153 additions and 19 deletions

View File

@@ -38,6 +38,6 @@ end
skynet.start(function()
skynet.dispatch("lua", function (_, source, cmd, ...)
local f = assert(command[cmd])
skynet.ret(skynet.pack(f(source, ...)))
skynet.ret(skynet.pack(f(...)))
end)
end)