How to check whether the internet connection is available in the machine or not using Qt codes???
I would like to know if the internet connection persists or not, need to ping to simple page via Google.com or yahoo. com
How to check whether the internet connection is available in the machine or not using Qt codes???
I would like to know if the internet connection persists or not, need to ping to simple page via Google.com or yahoo. com
In a "kludge" way, you could do just that, adding a system("ping google.com") and then parsing the output. There's probably a simpler, "Qter" solution though
Check this method: QNetworkAccessManager::networkAccessible()
i think this method told you that the network is up not that the internet connection is.
Bookmarks