Split Download beteen multipe users

I am writing a file sharing program and I would like to know how to split the file download beteen multiple users.  In other words, simultaniously download different pieces of a file from different users and then put the pieces together (Similar to the way that Kazaa or Morpheus do)

I was planing to use the winsock control for the file transfer, but if you have another idea, that is fine as well.

At the very minimum I need to know how to resume a file transfer, but I would really like to have the functionality to download the same file from multiple users at the same time.

For 500 points I need some source code.  A zip sent to taf@taftech.net would be great!

Thanks in advance!
TAF2000Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
AzraSoundConnect With a Mentor Commented:
For the asynchronous downloads, you may look at incorporating your project as an activeX EXE:

"Multi-Threaded VB Using ActiveX EXEs"
http://vbaccelerator.com/codelib/thread/exethr.htm


And for an explanation of how to handle broken downloads with the winsock control:
http://www.vbip.com/forum/topic.asp?id=1107
0
 
TAF2000Author Commented:
Can't you do it in a way using arrays of controls?  

Anyone else have any ideas?

Thanks
0
 
TAF2000Author Commented:
Well.. I wouldn't say that was a 500 point answer.. but here you go anyhow..
0
All Courses

From novice to tech pro — start learning today.