mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
Merge pull request #114 from tangyi/minor-fix
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