Results 1 to 4 of 4

Thread: monitor an http socket

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2009
    Posts
    60
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11
    Thanks
    3

    Default monitor an http socket

    Hi All,

    I want to monitor the http socket connection for connection and data transfer,I am familiar with signals associated Qt socket classes.

    I am using QNetworkAccessManager object for http post and get operations,so how to get the http socket info.

    Thanks
    Ratheendran

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

    Default Re: monitor an http socket

    I am using QNetworkAccessManager object for http post and get operations,so how to get the http socket info.
    What do you mean by "the http socket info"?

  3. #3
    Join Date
    Nov 2009
    Posts
    60
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11
    Thanks
    3

    Default Re: monitor an http socket

    sorry so missed the details,
    what I understand from network stack is http uses tcp socket for data transfer,so I want to get the status of this socket for connection,disconnect,errors etc.

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

    Default Re: monitor an http socket

    You listen to the signals emitted by the QNetworkReply you received from your call to QNetworkAccessManager::get(). You can also look at QNetworkReply::error() for more details.

Similar Threads

  1. Replies: 2
    Last Post: 22nd May 2011, 21:31
  2. Replies: 6
    Last Post: 21st March 2011, 13:29
  3. QT on LCD monitor
    By Ratheendrans in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 5th March 2011, 16:03
  4. X Monitor in a Qt form
    By prasenjit in forum Qt-based Software
    Replies: 1
    Last Post: 29th April 2010, 06:58
  5. Qt system monitor?
    By khopper in forum Qt Programming
    Replies: 2
    Last Post: 7th November 2008, 15:32

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
  •  
Qt is a trademark of The Qt Company.