Hey guys,
I`m trying to use LuaSocket, but stuck at moment when trying to sent a UDP message:
local send = socket.udp()
send:settimeout( 0 )
local txt1, txt2 = send:sendto( msg, “192.168.0.1”, 1234 )
print(txt1, txt2);
But sentto always returns a ‘refused’ error. How to solve that? What I`m doing wrong?
I`m trying it use example tutorial(in simulator), modified in forum, but stuck at this.
Here is project:
https://www.dropbox.com/s/7jjqua8dgf6qjs6/testSocket.zip?dl=0