Home » U++ Library support » U++ MT-multithreading and servers » How to catch http client timeout error
Re: How to catch http client timeout error [message #20131 is a reply to message #20117] |
Fri, 20 February 2009 10:57 |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
bahriesz wrote on Thu, 19 February 2009 07:49 | Hi
Anybody knows how to catch http client time out error? So I can display timeout error message.
Current implmentation of http client will freeze the GUI if it in the process of fetching the URL.
thanks.
|
You can set the timeout to whatever you like, but what you really need is to run the HttpClient in a seperate Thread (and compile with MT).
I believe you will get a Null string returned if it times out.
|
|
|
Goto Forum:
Current Time: Sun Apr 28 11:20:50 CEST 2024
Total time taken to generate the page: 0.03063 seconds
|