Telling User Connected to Internet or Not.

If connected, show user that you are connected to internet, other wise
tell user that you are not connected to internet, and press any key to
quit the application.