Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
Engeor is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Checking socket connection after send.
Next Topic: CPU_Cores() error
Goto Forum:
  


Current Time: Mon May 06 07:29:19 CEST 2024

Total time taken to generate the page: 0.02747 seconds