You are not logged in.
Pages: 1
ab,
Only when debugging and expend some time I receive the exception timeout. When can I change that value? I tried with fClient.WinAPI.ConnectTimeout := 5000 but the same, in less than 1 minutes I receive the timeout. What Am I missing? I have the last build.
Regards,
Al
Offline
Please read the documentation of the TWinHttpAPI / TWinINet / TWinHTTP classes (either in the SAD pdf, or even easier in the code itself, as comments in the class interface).
This property is for connection timeout, as the name states.
Try to set ReceiveTimeout.
And the value is in milliseconds.
So 5000 ms = 5 seconds.
Default is 30000 = 30 seconds.
For 1 minute, use 60000.
And so on...
Offline
Pages: 1