Solved

Split Download beteen multipe users

Posted on 2002-06-10
3
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 500 total points
ID: 7070160
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
ID: 7093715
Can't you do it in a way using arrays of controls?  

Anyone else have any ideas?

Thanks
0
 

Author Comment

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

695 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