Chapter 8. Peer-to-Peer Over Bluetooth Using GameKit
One of the coolest new frameworks added to the iPhone 3 SDK is called GameKit. GameKit makes it easy to wirelessly connect multiple iPhones or iPod touches using Bluetooth. Bluetooth is a wireless networking option built into all but the first-generation iPhone and iPod touch. GameKit allows any supported devices to communicate with any other supported devices that are within roughly 30 feet (about 10 meters) of each other. Though the name implies differently, GameKit is useful for nongaming apps, too. For example, you might build a social networking app that allows people to easily transfer contact information over Bluetooth.
The code in this chapter will not run in the simulator because ...