Reachability is an iOS sample application which demonstrates how to use the SystemConfiguration framework to monitor the network state of an iPhone or iPod touch.
I'm following How to check for an active Internet connection on iOS or OSX? and http://developer.apple.com/library/…
ios networking reachability