mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 11:33:09 +00:00
add lua loader
This commit is contained in:
@@ -37,7 +37,8 @@ else
|
||||
end
|
||||
|
||||
skynet.start(function()
|
||||
local id = socket.listen("127.0.0.1", 8000)
|
||||
local id = socket.listen("127.0.0.1", 8001)
|
||||
print("Listen socket :", "127.0.0.1", 8001)
|
||||
|
||||
socket.start(id , function(id, addr)
|
||||
print("connect from " .. addr .. " " .. id)
|
||||
|
||||
Reference in New Issue
Block a user