hello world

This commit is contained in:
云风
2012-08-01 11:33:10 +08:00
commit 8ef978d0eb
36 changed files with 2858 additions and 0 deletions

10
testtimer.lua Normal file
View File

@@ -0,0 +1,10 @@
local skynet = require "skynet"
skynet.callback(function(addr,content)
if content == nil then
print("sn:",addr)
skynet.command("TIMEOUT","100:"..tostring(addr+1))
end
end)
skynet.command("TIMEOUT","0:0")