Hi all,
I'm trying to get the internet connection state, if the player's computer is online or offline. So I use the code above, but I always get the "Connected" message even if my modem is physically unplugged.
;**************************************
If CallDLL("url.dll","InetIsOffline")
Print "Not connected."
Else
Print "Connected!"
EndIf
WaitKey()
;**************************************
Could someone tell me what's wrong with my code ?
Thanks in advance,
Gui.
I'm trying to get the internet connection state, if the player's computer is online or offline. So I use the code above, but I always get the "Connected" message even if my modem is physically unplugged.
;**************************************
If CallDLL("url.dll","InetIsOffline")
Print "Not connected."
Else
Print "Connected!"
EndIf
WaitKey()
;**************************************
Could someone tell me what's wrong with my code ?
Thanks in advance,
Gui.