How to validate email in iOS Objective- C?

How to check for an active Internet Connection on iPhone SDK?