Solved

Split Download beteen multipe users

Posted on 2002-06-10
3
212 Views
Last Modified: 2013-11-13
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!
0
Comment
Question by:TAF2000
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 500 total points
Comment Utility
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
 

Author Comment

by:TAF2000
Comment Utility
Can't you do it in a way using arrays of controls?  

Anyone else have any ideas?

Thanks
0
 

Author Comment

by:TAF2000
Comment Utility
Well.. I wouldn't say that was a 500 point answer.. but here you go anyhow..
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now