-->
Page 1 of 1

UDP server not work :(

PostPosted: Mon Dec 01, 2014 7:45 am
by alexhi
UDP server not work :(

Re: UDP server not work :(

PostPosted: Mon Dec 01, 2014 8:26 am
by uhrheber
Wait till I've found my crystal ball, then I can tell you what your problem is.

Re: UDP server not work :(

PostPosted: Mon Dec 01, 2014 8:44 am
by ThomasW
uhrheber wrote:Wait till I've found my crystal ball, then I can tell you what your problem is.

I can lend you mine: viewtopic.php?f=24&t=645#p3467 ;)

Re: UDP server not work :(

PostPosted: Mon Dec 01, 2014 9:12 am
by zeroday
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)