Download accelarator
Managed C++/CLI
1
Posts
1
Posters
0
Views
1
Watching
-
Hello, I am trying to build a download accelarator (a program which downloads a file through several connections to increase the speed). I have created four threads. Each thread downloads the file from diffrent offset and finallly I join al this parts. The problem is that when I use one thread( without changing the thread's code) it much faster. It like the additional threads are slowing one another. In each thread I initialize the connection (CInternetSession->CHttpSession) and later in the thread I have put a loop which downloads the files. The initialization part is in a critical section. Can anyone tell whats wrong. Did anyone encountered similar problem? Sincerely yours Y.R.