Left here for archival purposes.

User avatar
By zeroday
#3704
alexhi wrote:UDP server not work :(


Hi,
A udp server does not create a socket connection when data come in.
the server just receive the data sent to the port from any client.
I should have doc this...
acts like this.
Code: Select alls=net.createServer(net.UDP)
s:on("receive",function(s,c) print(c) end)
s:listen(8888)