# ConnectedToInternet()

Author: SKAN Last Modified: 20060522

The function checks if the computer is connected to the internet.

ConnectedToInternet(flag=0x40)

For more details of the functions's parameters and return value, please see it's source code or the document.

#### Remarks

The documentation is copied part from author`s forum post about the library.

For update's details and remarks related to the functions, please see the AutoHotkey Forum: http://www.autohotkey.com/forum/viewtopic.php?p=60892#60892

#### License

nonexistent

#### Example

    ; #Include ConnectedToInternet.ahk
    #NoEnv
    SendMode Input
    SetWorkingDir %A_ScriptDir%

    ; True if internet connection is available.
    MsgBox % "ConnectedToInternet: " . ConnectedToInternet()