The structure GameKitcontains APIs that allow communication via the Bluetooth network. Using these APIs, you can easily create peer games and applications. All of the various Bluetooth APIs are located at GameKit framework.
Here is a good code example in this ... link
Hope this helps you.
source
share