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

@@ -7,8 +7,8 @@ skynet.start(function()
if skynet.getenv "standalone" then
local datacenter = assert(skynet.newservice "datacenterd")
skynet.name("DATACENTER", datacenter)
local smgr = assert(skynet.newservice "service_mgr")
end
assert(skynet.newservice "service_mgr")
skynet.uniqueservice("multicastd")
assert(skynet.newservice(skynet.getenv "start" or "main"))
skynet.exit()