Possible Duplicate:
Easiest way to detect a connection on iOS?
How can you detect a new connection to a network or a disconnection in Objective-C in Mac OS X?
Possible Duplicate:
Easiest way to detect a connection on iOS?
How can you detect a new connection to a network or a disconnection in Objective-C in Mac OS X?