passing simple data, app to app over local wifi

Does anyone have any sample code that illustrates the ability to pass simple data, eg. colour=“Red” over a local WiFi connection ?

eg.
2 phones on the same LAN
phone 1 = 192.168.1.100
phone 2 = 192.168.1.150

user presses an on-screen button and amd phone1 sends colour=“Red” to to phone2

Is this possible, without using a ‘middle man’ server to relay the data ?
[import]uid: 97524 topic_id: 16803 reply_id: 316803[/import]

There was a series of forum posts about that not too long ago and I think someone had made good progress. Corona supports Lua’s sockets library so its possible to have an app listen on a particular port for connections. The biggest problem is Corona really doesn’t have access to DNS or any good way to find other devices that I’m aware of.

You might want to search the forums and see if you can find the other thread.

[import]uid: 19626 topic_id: 16803 reply_id: 62909[/import]

hi, thanks. Tried searching for local wifi and app to app but no joy. Will keep looking. [import]uid: 97524 topic_id: 16803 reply_id: 63012[/import]