Results 1 to 2 of 2

Thread: Check http server status (inline/offline) with pyqt

  1. #1
    Join Date
    Jul 2012
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows Symbian S60

    Default Check http server status (inline/offline) with pyqt

    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

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Check http server status (inline/offline) with pyqt

    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

Similar Threads

  1. Keep data in QSqlQueryModel when server is offline
    By Tottish in forum Qt Programming
    Replies: 10
    Last Post: 28th April 2011, 09:14
  2. Sample of Http server
    By Lele in forum Qt Programming
    Replies: 2
    Last Post: 30th November 2010, 23:43
  3. Can Qt check current audio status?
    By bizmopeen in forum Qt Programming
    Replies: 3
    Last Post: 5th November 2010, 02:58
  4. How to check COM port status?
    By rajesh in forum Qt Programming
    Replies: 1
    Last Post: 2nd December 2009, 17:07
  5. How to check the current status of a service
    By Ankitha Varsha in forum Qt Programming
    Replies: 1
    Last Post: 21st October 2008, 12:55

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.