tags:

views:

40

answers:

3

I would like to make a game where two players are connected via WiFi or Bluetooth, but I've not found any good tutorials out there on this. What resources do you recommend for learning peer-to-peer networking on the iPhone?

+1  A: 

You probably want to start with the Game Kit Programming Guide.

TechZen
+1  A: 

To help with the network side, you'll probably want to use Game Kit, which can easily connect on BT or wifi. Read Apple's doc on it!

http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/GameKit_Guide/Introduction/Introduction.html

Peter DeWeese
+1  A: 

I cover peer-to-peer networking, including Bonjour and Game Kit, as part of my course on iPhone development. The notes for the respective class session can be found here, and the class can be downloaded as a video from iTunes U.

The notes also include links to simple example applications that show off peer-to-peer networking, and I demonstrate how all this works during the class.

Brad Larson