fix the missing of 'Welcome to skynet' in example

This commit is contained in:
tangyi
2014-05-19 18:06:28 +08:00
parent 57f37a55ba
commit 66a0a6e1db

View File

@@ -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)