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 » knowing download speed and ProgressIndicator
Re: knowing download speed and ProgressIndicator [message #16962 is a reply to message #16918] Wed, 23 July 2008 13:41 Go to previous messageGo to previous message
mr_ped is currently offline  mr_ped
Messages: 825
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
Run new thread/instance of HttpClient for every URL you want to download together.

Create your own progress indicator with "bool MethodToGatherData(int, int)" in it.

Set this method as callback to every HttpClient during ExecuteRedirect call.

In that method find out a way to gather multiple data from different threads, calculate some nice numbers out of them, and show them as progress bar.

No source code this time, I'm too new into this topic to write it from head, and I have to work on different things. I think that's the reason for slow answers from others too, while you are free to ask, others are free to (not) answer, as their free time and skill allows them. If you want to learn C++,U++ and do your own application, just study hard and have patience (and keep asking, but also keep searching for answer on your own). If you want the app done fast, pay Mirek or some skilled other UPP developer. Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: making thread
Next Topic: sending post message
Goto Forum:
  


Current Time: Wed May 15 19:01:34 CEST 2024

Total time taken to generate the page: 0.02843 seconds