add gateserver

This commit is contained in:
Cloud Wu
2014-07-13 14:54:53 +08:00
parent 0dba8ed385
commit e1674f04c3
3 changed files with 58 additions and 114 deletions

View File

@@ -33,7 +33,6 @@ function SOCKET.data(fd, msg)
end
function CMD.start(conf)
skynet.call(gate, "lua", "nodelay", true)
skynet.call(gate, "lua", "open" , conf)
end