Got old auto lan to work!

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

Hello. This really helped a lot. Works great on simulator however, not on real devices. "Server.lua:17: attempt to index local ‘UDPBroadcaster’ (a nil value). Any help will be really appreciated. Thank you

Did you test on two separate devices?
If you are testing on android, make sure internet permission is enabled.

THANK YOU SO MUCH! I have tried it in one device and it worked! I’m gonna try it with other devices tomorrow. Many thanks.

Hello. This really helped a lot. Works great on simulator however, not on real devices. "Server.lua:17: attempt to index local ‘UDPBroadcaster’ (a nil value). Any help will be really appreciated. Thank you

Did you test on two separate devices?
If you are testing on android, make sure internet permission is enabled.

THANK YOU SO MUCH! I have tried it in one device and it worked! I’m gonna try it with other devices tomorrow. Many thanks.