Check For Internet Connection

Check For Internet Connection

Postby Omega11 » Sat Jun 07, 2014 7:05 am

Hello,

How to return 0 if the user is connected to the internet, If he disconnects it will keep returning 1. Again as soon as the user connects to the internet it will return 0.

How can I do it using Python?
Last edited by Yoriz on Sat Jun 07, 2014 7:50 am, edited 1 time in total.
Reason: First post lock.
Omega11
 
Posts: 1
Joined: Sat Jun 07, 2014 7:01 am

Re: Check For Internet Connection

Postby Yoriz » Sat Jun 07, 2014 7:51 am

Welcome to the forum, please read the new users read this link in my signature.
New Users, Read This
Join the #python-forum IRC channel on irc.freenode.net!
Image
User avatar
Yoriz
 
Posts: 1029
Joined: Fri Feb 08, 2013 1:35 am
Location: UK


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest