Home » U++ Library support » U++ MT-multithreading and servers » Detect connection, valid URL, 404 page
Detect connection, valid URL, 404 page [message #14268] |
Thu, 21 February 2008 12:24 |
Engeor
Messages: 12 Registered: January 2008
|
Promising Member |
|
|
If I try to load a file that does not exists on the server then the http server returns 404 page. In this case HttpClient returns no error so I search returned buffer for 404 inside <TITLE> tag.
1) Is there any better way how to detect that file does not exists on the server?
2) How to detect non-existing server? (Another way that wait for timeout).
Engeor
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Sep 21 03:15:06 CEST 2024
Total time taken to generate the page: 0.03168 seconds
|