Unsolved QNetworkAccessManager timeout and request time
-
How to set a timeout for QNetworkAccessManager and also how to know how long a request took in microseconds?
-
Hello @0volebab ,
AFAIK , timeout depends on the OS. Qt just asks the OS resolver fro the given IP address. OS resolver will send the request and wait for the request until the answer comes back. Seems you can also set timer to abort() the connection with startup timer in your application. I found an example..just try it.