Echo server: Difference between revisions

Content added Content deleted
m (Tidied Lua explanation)
m (Removed needless line)
Line 1,172:
 
function checkOn (client)
local line, err = client:receive()
line, err = client:receive()
if line then
print(tostring(client) .. " said " .. line)