The Reachability sample application demonstrates how to use the SystemConfiguration framework to monitor the network state of an iOS device.