IsConnected to internet
-
wot is the best way to check whether internet is connected. Other than pinging or downloading file from a known server.
-
wot is the best way to check whether internet is connected. Other than pinging or downloading file from a known server.
take a try... InternetCheckConnection(...) jitendra
-
wot is the best way to check whether internet is connected. Other than pinging or downloading file from a known server.
A function for this is
InternetAttemptConnect
. This function will check if an Internet connection is available. It returnsERROR_SUCCESS
if the connection was available, and if not, it'll return one of the system wide error codes. Only one parameter, zero, is issued to the function, so it's pretty straightforward to call it. Include 'Wininet.h' and link with 'wininet.lib' to use this function. It is part of the Platform SDK. For other Internet-connectivity functions, see MSDN link here. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible. -
wot is the best way to check whether internet is connected. Other than pinging or downloading file from a known server.
InternetGetConnectedState(...)