views:

74

answers:

1

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:

  1. Starting a server on the desktop or the phone
  2. Ask the user to enter the IP of the device into the other one
  3. 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?

A: 

Figured out a way myself: Bonjour

It is possible to implement on the Air side
It is possible to implement on the iPhone side:

coneybeare