I been playing with Lua script and I run into conn:send and conn on . But I can't find and thing about it
How it is used. I read up On Lua and and It look like Lua naming of a function.
I think it's just being used as variable
But where would I find information On how to write code like it.
How it is used. I read up On Lua and and It look like Lua naming of a function.
Code:
conn:on("receive",function(conn,payload)
--next row is for debugging output only
print(payload)
Code:
srv=net.createServer(net.TCP) srv:listen(80,function(conn)
conn:on("receive",function(conn,payload)
--next row is for debugging output only
print(payload)