2022-01-31 01:00:02 +08:00
|
|
|
require("string")
|
|
|
|
|
|
|
|
function OnNewClient(ip,port)
|
|
|
|
showdata("on new client from lua " .. ip..port)
|
|
|
|
end
|
|
|
|
|
2022-02-01 00:19:32 +08:00
|
|
|
function OnClientRecvData(data)
|
|
|
|
showdata("client recieve data from lua "..data)
|
2022-01-31 01:00:02 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
function OnClientDisconnect(ip,port)
|
|
|
|
showdata("client leave from lua " .. ip..port)
|
|
|
|
end
|
|
|
|
|