Online peer-to-peer connection

Discussion in 'iOS Programming' started by rahul m, Jul 13, 2009.

  1. rahul m macrumors newbie

    Joined:
    Jun 30, 2009
    #1
    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...
     
  2. Miraculous macrumors newbie

    Joined:
    Jul 13, 2009
    #2
    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.
     

Share This Page