PDA

View Full Version : Check http server status (inline/offline) with pyqt



fkili
8th October 2012, 16:55
hi members

i try to find a way to check http server status and find if it is inline or offline.

if anyone have an idea please help me.

thanx

ChrisW67
9th October 2012, 00:06
Try to retrieve a page from the server: if it works then you have an online server, if it fails you might have an offline server or you might have other problems making the connection.

QNetworkRequest QNetworkReply QNetworkAccessManager