Re: monitor an http socket
Quote:
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"?
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.
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.