bugfix: gate start

This commit is contained in:
云风
2013-08-23 10:40:14 +08:00
parent 35b0f28fcc
commit 1fc601612c
12 changed files with 46 additions and 540 deletions

View File

@@ -2,7 +2,7 @@ local skynet = require "skynet"
local socket = require "socket"
local function accepter(id)
socket.accept(id)
socket.start(id)
socket.write(id, "Hello Skynet\n")
while true do
local str = socket.readline(id,"\n")