change skynet_send api (use uint32_t instead of string)

This commit is contained in:
云风
2012-08-30 13:09:34 +08:00
parent e26fbd99d6
commit 1791becd09
21 changed files with 282 additions and 242 deletions

View File

@@ -5,20 +5,12 @@ skynet.dispatch()
skynet.start(function()
print("Server start")
local lualog = skynet.launch("snlua","lualog")
print("lualog",lualog)
local launcher = skynet.launch("snlua","launcher")
print("launcher", launcher)
local remoteroot = skynet.launch("snlua","remote_root")
print("remoteroot", remoteroot)
local console = skynet.launch("snlua","console")
print("console",console)
local watchdog = skynet.launch("snlua","watchdog","8888 4 0")
print("watchdog",watchdog)
local db = skynet.launch("snlua","simpledb")
print("simpledb",db)
local connection = skynet.launch("connection","256")
print("connection",connection)
local redis = skynet.launch("snlua","redis-mgr")
print("redis",redis)
skynet.exit()
end)