nim_duilib/examples/proto_debuger/tcp_client.lua
2022-02-06 23:29:47 +08:00

1 line
326 B
Lua

require("string")
function OnNewClient(ip,port)
showdata("on new client from lua " .. ip..port.."32232323\r\n")
end
function OnClientRecvData(data)
showdata("client recieve data from lua "..data.."+++12312312\r\n")
end
function OnClientDisconnect(ip,port)
showdata("client leave from lua " .. ip..port)
end