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.lua Normal file
View File

@@ -0,0 +1,12 @@
local skynet = require "skynet"
skynet.dispatch()
skynet.start(function()
local group = skynet.query_group(1)
for i=1,10 do
skynet.newservice("testgroup_c", tostring(i))
end
skynet.send(group,"Hello World")
skynet.exit()
end)