First off i don’t own this project, all rights and thanks goes to mydevelopergames.(https://github.com/mydevelopergames/AutoLAN) I just made a few small tweaks to this project and i have seen some old threads that want a working version of pong auto lan demo…
socket.dns.toip no longer works
I used
local s = socket.udp()
s:setpeername( “74.125.115.104”, 80 )
local peerIP, peerPort = s:getsockname()
and changed graphics in config.lua to 1.
That is about it.
NOTE: don’t test on the same device ( don’t try to test with two corona applications on the same device).
here is project
https://www.dropbox.com/sh/uifqx11dk2sqcfq/AADqQQrAcfQEYpQl2PC0QLHta?dl=0