I am creating a desktop version of an iPhone app and would like to have some sort of sync option. The desktop version of the app is an Air app.
I know that I can have them communicate by:
- Starting a server on the desktop or the phone
- Ask the user to enter the IP of the device into the other one
- Make GET and POST requests over the http server
This seems very clunky to me, however, and I would like for them to automatically recognize each others presence when the sync button is pressed. How can this be done between an iPhone and an Air app?