Jump to content
Sign in to follow this  

Internet connection detection

Recommended Posts

Been searching for about 3 hours and cant find anything that will help in detecting if a user has a connection to the internet. Would you just try to open a web browser to say google and if it returns fail then you would know or is there a easier way?

Share this post

Link to post
Share on other sites

#include <INet.au3>
If @error Then
    MsgBox("", "", "Offline")
    MsgBox("", "", "Online")
EndIfoÝ÷ Ù«­¢+ÙA¥¹ ÅÕ½ÐíÝÝܹ½½±¹½´ÅÕ½Ðì°ÈÔÀ¤)%ÉɽÈQ¡¸(5ͽà ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½Ðí=±¥¹ÅÕ½Ðì¤)±Í(5ͽà ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½Ðí=¹±¥¹ÅÕ½Ðì¤)¹%

Edited by Jex

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...