It’s possible, but it’s not easy. What I mean by that is Corona SDK doesn’t have any single call API’s to do this. We support pretty much full TCP/IP socket level support, so you can have an app that listens on a port. This only really works for devices on the same WiFi network because your phone doesn’t have a predictable IP address (on WiFi, your dependent on how the DCHP servers are configured as well as if the router supports inbound connections to devices on the internal network or not. If your on cellular, I’m pretty sure your IP address changes so you would not have a good way to broadcast your current IP address to your clients.
What you might want to do is consider using a service that routes packets through their servers like PubNub. Look in our SampleCode/Networking/MultiplayerPubNub for an example of how to work it.
If you’re only interested in doing it on the Local network, look up something called AutoLan by M.Y.Developers. They no longer support this and there are mixed messages on if it still works today. I can imagine their sample app might not work since it was never updated to Graphics 2.0 but there are easy ways to fix that. I can’t see why their networking code wouldn’t work.
Rob