Possible Duplicate:
Ad Hoc Wifi Connection Between iPhone & Mac – Possible?
How can I create a small Mac app that receives data over the WiFi network from an iOS app?
Connect iOS app to Mac app over wifi? Similar to iTunes Remote?
I want to create a connection between my iPhone app and my mac app over wifi. What ways are there of doing this? Are there any open source projects which work on this?
You could use Bonjour. There appears to be some decent information here – http://mobileorchard.com/tutorial-networking-and-bonjour-on-iphone/ – but also the Apple docs are probably a good place to start.
You could also roll your own connection mechanism but discovering will be quite an effort which is something that Bonjour solves for you.