Hey guys,
From a Qt app,
is there a simple way to check if we have access to the internet?
Thanks.
Printable View
Hey guys,
From a Qt app,
is there a simple way to check if we have access to the internet?
Thanks.
Check google or other in port 80 :)
http://www.qtcentre.org/forum/f-qt-p...ion-25426.html
Code:
socket->connectToHost("hostName", portNumber); if (socket->waitForConnected(1000)) qDebug("Connected!");