mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 03:53:09 +00:00
bugfix: gate start
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user