|
-
Apr 10th, 2006, 11:38 AM
#1
Thread Starter
Addicted Member
Winsock: Sending to a Distribution List?
I have an application in mind where I would like to send the same data (5MB - 50MB) to a number of clients over the internet. Since the server connection to the Internet has limited bandwith (512K uplink) and there could be up to 100 clients wanting the same info, I was wondering if there is a more efficient method than direct sends to each client.
1) I'm thinking of a method similar to sending an email to a distribution list, ie. done with a single send.
Is it possible over TCP/IP using VB6 and Winsock (or Winsock API)?
Is it possible to imbed a number of IP addresses into the IP datagram?
Is there anyother way of achieving something like this over the Internet? (Multicast of some sort?)
2) If the clients were logged onto the server via VPN or something, would a Multicast work then?
Cheers,
Nap
-
May 15th, 2006, 10:28 AM
#2
Thread Starter
Addicted Member
Re: Winsock: Sending to a Distribution List?
Didn't get any comments before, so here's a bump for another try.
-
May 22nd, 2006, 03:22 AM
#3
New Member
Re: Winsock: Sending to a Distribution List?
I am not sure whether you can do what you described, using the winsock control but if bandwidth is the main issue, than I would suggest you:
1. Try and reduce the amount of data send to each client.
2. Send the data in compressed form using maybe a simple algorithm (such as counting the spaces or repeated characters).
3. Build in restart capabilities so that if a transfer fails, you will not have to send the whole chunk again.
I am not sure if you can change the TCP/IP datagram to put in a list of IP addersses because as with all network carriers, TCP/IP has a specific protocol which need to be adhered to, but maybe someone out there may have succeeded in doing what you have suggested.
Hope this helps.
-
May 22nd, 2006, 02:19 PM
#4
Thread Starter
Addicted Member
Re: Winsock: Sending to a Distribution List?
Franmal, thanks for your comments.
I'm sure there is a way to do it (look at all these video chat applications etc). Just don't know how.
-
May 22nd, 2006, 09:06 PM
#5
Re: Winsock: Sending to a Distribution List?
 Originally Posted by Napoleon
I'm sure there is a way to do it (look at all these video chat applications etc).
They send multiple packets. Very wasteful of internet bandwidth, but that's how chat works. Listservers do the same thing - multiple emails.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
May 22nd, 2006, 09:17 PM
#6
Thread Starter
Addicted Member
Re: Winsock: Sending to a Distribution List?
If you look up MBone and/or mroute in google, you will find some info about Multicasting over the Internet.
A lot of the info you will find is dated as far back as 1998.
Cheers,
Nap
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|