QNetworkAccessManager timeout and request time
Volebab last edited by
How to set a timeout for QNetworkAccessManager and also how to know how long a request took in microseconds?
Ni.Sumi last edited by
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.