DTD Tutorials?

Discussion in 'iOS Programming' started by loon3y, Jul 19, 2016.

  1. loon3y macrumors 65816

    loon3y

    Joined:
    Oct 21, 2011
    #1
    Is there any tutorials on device to device communication (more popularized by game center apps)

    Phillips Hue (Smart Home App) basically just executed exactly what i needed.

    DTD communication over a local (no internet connection) network.
     
  2. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #2
    Look at this sample code from Apple:

    https://developer.apple.com/library/ios/samplecode/WiTap/Introduction/Intro.html
    The WiTap sample demonstrates peer-to-peer networking over Wi-Fi and Bluetooth. Using Bonjour, the application both advertises itself on the local network and displays a list of other instances on the network. Supports infrastructure networks, peer-to-peer Bluetooth, and peer-to-peer Wi-Fi (on compatible hardware).

    and more details on Bonjour here

    https://developer.apple.com/bonjour/
     

Share This Page