I am developing an iOS app,

What i want to do is, whenever user turned on/off his internet from setting app, i want to set some notification to device.

**In short, i want to send some data (stored in NSUserDefaults) to server whenever internet connection is available(assuming internet connection appears after 2 3 days)....possible?**

Please help and thanks in advance.