Click here to Skip to main content
13,249,087 members (41,904 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I want make data sharing between two users by creating multiple conections so the data will travel fast.
I want to make software like internet download.Internet download manger create multiple conections with a single server and download data in different pieces.

How can i do it with visual basic?
Posted 22-Jan-13 7:10am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

It can be done on one of several different levels of networking, remoting or WCF.
Please see my overview of these approaches in my past solutions:
how i can send byte[] to other pc[^],
Communication b/w two Windows applications on LAN.[^].

Marcus Kramer 22-Jan-13 14:09pm
+5. Nice.
Sergey Alexandrovich Kryukov 22-Jan-13 14:39pm
Thank you, Marcus.
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

I don't think multiple connections will help you much. Generally, your download speed is limited by either the server's (or the sender's) upload bandwidth or the client's (or the recipient's) download bandwidth, and either of those will use as much as they can in a single connection. Making multiple connections does not increase your throughput, unless you're purposely limiting the bandwidth per connection to begin with.

On the other hand, if a single client connects to multiple servers, and the client has more download bandwidth than either server, you can get faster downloads than connecting to either server individually (of course, you still can't get around the client's bandwidth limitation, so if either server already has equal or greater upload bandwidth than the client's download bandwidth, you gain nothing).

You might want to rethink your goal.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171114.1 | Last Updated 23 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100