Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rahul m

macrumors newbie
Original poster
Jun 30, 2009
4
0
Here i am developing an application which uses peer to peer connection. i am able to communicate using WIFI and Bluetooth connection. i.e a devices with in a same local network are able to communicate with each other.

Is it possible to communicate online using Bonjour service or any other option for online communication.

Please help me...
 
Here i am developing an application which uses peer to peer connection. i am able to communicate using WIFI and Bluetooth connection. i.e a devices with in a same local network are able to communicate with each other.

Is it possible to communicate online using Bonjour service or any other option for online communication.

Please help me...

I don't think it's possible since Bonjour requires you to be in the same broadcast domain. Any router that blocks the mDns messages used by Bonjour will make the connection impossible. If the devices get a public IP address, it's possible to just connect them directly. Unfortunately, most Wifi hotspots are NATed, and you'll need to resort to UDP tunneling for that.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.