Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET binary
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
good
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.[^].
 
—SA
  Permalink  
Comments
Marcus Kramer at 22-Jan-13 14:09pm
   
+5. Nice.
Sergey Alexandrovich Kryukov at 22-Jan-13 14:39pm
   
Thank you, Marcus.
—SA
Rate this: bad
good
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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 277
1 BillWoodruff 205
2 Maciej Los 205
3 DamithSL 165
4 Sergey Alexandrovich Kryukov 145
0 OriginalGriff 5,107
1 DamithSL 4,157
2 Maciej Los 3,595
3 Kornfeld Eliyahu Peter 3,450
4 Sergey Alexandrovich Kryukov 2,741


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 23 Jan 2013
Copyright © CodeProject, 1999-2014
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