16 lines
289 B
Lua
16 lines
289 B
Lua
require("string")
|
|
|
|
function OnNewClient(ip,port)
|
|
showdata("on new client from lua " .. ip..port)
|
|
end
|
|
|
|
function OnClientRecvData(data)
|
|
showdata("client recieve data from lua "..data)
|
|
end
|
|
|
|
|
|
function OnClientDisconnect(ip,port)
|
|
showdata("client leave from lua " .. ip..port)
|
|
end
|
|
|