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 » Doubt with timeout in HttpRequest
Re: Doubt with timeout in HttpRequest [message #36381 is a reply to message #36236] Wed, 23 May 2012 15:03 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3367
Registered: August 2008
Senior Veteran
Hello Mirek

Using WhenWait works:

if ((endTimeout < GetTickCount()) && http.GetContentLength() == 0)
	http.Abort();

However it is not very pretty as Timeout() could be supposed to be the place to set the timeout Smile.


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with includes in Socket.cpp and Web.h
Next Topic: Set thread priority for linux
Goto Forum:
  


Current Time: Tue May 28 01:35:06 CEST 2024

Total time taken to generate the page: 0.00645 seconds