Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Jan : Re: Multi-Threaded Downloading

www.cryer.info
Managed Newsgroup Archive

Re: Multi-Threaded Downloading

Subject:Re: Multi-Threaded Downloading
Posted by:"Danijel Tkalcec" (r..@deltasoft.hr)
Date:Wed, 23 Jan 2008 07:46:32

"Ken Lange" schrieb:
>I have an app where I am doing multi threaded downloading using TDownload
>URL no matter how many threads I Create only two actually show progress in
>downloading  at a time, after those two, finish others will show progress,
>as if something limits the system to two concurrent downloads. I've seen
>other progs do more than two downloads at a time, what's the Secret?

If the component you are using is working through the WinInet API, which is
also used by the Internet Explorer, it will be limited to 2 connections at a
time on most Windows systems. This is an artificial limit enforced by
Microsoft (don't ask me why).

WinSock and WinHTTP APIs do not have that limitation.

Best Regards,
Danijel Tkalcec, Team RTC
http://www.realthinclient.com

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive