multicast support

This commit is contained in:
云风
2012-08-29 22:31:28 +08:00
parent e03100060f
commit 68fb35bdd0
14 changed files with 600 additions and 7 deletions

12
service/testgroup_c.lua Normal file
View File

@@ -0,0 +1,12 @@
local skynet = require "skynet"
local id = ...
skynet.dispatch(function (msg,sz)
print(id, skynet.tostring(msg,sz))
end
)
skynet.start(function()
print("start",id)
skynet.enter_group(1)
end)