Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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
 
Share this answer
 
Comments
fjdiewornncalwe 22-Jan-13 14:09pm    
+5. Nice.
Sergey Alexandrovich Kryukov 22-Jan-13 14:39pm    
Thank you, Marcus.
—SA
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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900