mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
fix the missing of 'Welcome to skynet' in example
This commit is contained in:
@@ -8,7 +8,7 @@ local CMD = {}
|
||||
local client_fd
|
||||
|
||||
local function send_client(v)
|
||||
socket.write(client_fd, netpack.pack(jsonpack.pack(0,v)))
|
||||
socket.write(client_fd, netpack.pack(jsonpack.pack(0, {true, v})))
|
||||
end
|
||||
|
||||
local function response_client(session,v)
|
||||
|
||||
Reference in New Issue
Block a user