Hey acsteester - I'm glad you're finding the book helpful, hopefully this post does the same.
Bonjour is a great networking technology, unfortunately it requires a local network to function. That network can be your typical wifi network or a Bluetooth personal area network (support added in iOS 3). It sounds like the latter may fit your particular use case.
Unfortunately, as of iOS 5, the policy changed such that apps must explicitly opt in to Bluetooth support. Bluetooth can still be used but Bluetooth control is not supported by the higher-level API (NSNetService
) requiring you to drop down to the DNS-SD API to configure it. Tech Note 1753
contains more detail and links to sample code for the DNS-SD API.
If you are only targeting the iOS platform GameKit may be worth exploring. Chapter 12 covers GameKit and discusses it's suitability for use in situations other than just gaming.