| Dart Home | PowerTCP Sockets for .NET | Custom Development | Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
| Author | Forum: PowerTCP Sockets for .NET (Secure and Standard) Topic: Choosing Dart Sockets vs Winsock and others |
| DaveRowland From: South Molton, United Kingdom Posts: 6 Member Since: 12/20/03 |
posted December 20, 2003 5:34 PM Hi, My task is to update my existing system with a new .NET build. I have a system that sends to 400 computers via a system similar to FTP. When transfering say 10MB of data to 400 receiving stations (almost one-by-one), it can take a massive amount of time (days) on a private WAN network. I need to get this time down and one of my ideas is to send this 10MB of data via a form of UDP or Multicast stream, I would like to address 400+ stations like satelite. Where it rolls the data over-and-over again until the receiving station has built the 10mb datastream into a perfect file. I currently see that programming this method would be quicker then sending the same file 400 times to each indivudal station one-by-one. To rephrase, which products and technologies would be more suited to send a 10mb file over IP. Could I use Sockets for .NET and transmit the 10MB file about 100 times with UDP and some kind of programming at the other end to re-assemble? Can I use Mutlicast or Streaming methods somehow? If so, which DART product should I look at first? I would like to outline which ones I should be looking at and I have a feeling the FTP version will be purchased as a backup plan. Regards Dave |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted December 21, 2003 7:08 PM I have almost no experience with Multicast. The TCP control in the Winsock tool supports it, but I found it almost useless unless every router in between you and the destination allows it. If you are an expert on Multicast issues, you may be able to figure it out. If I had to do it I would use the FTP for .NET component and do 20 or 30 transfers simultaneously. There is a sample called Transfer Manager (VB.NET only) that demonstrates how to do that. |
| DaveRowland From: South Molton, United Kingdom Posts: 6 Member Since: 12/20/03 |
posted December 22, 2003 4:39 AM Thanks for that. The simultaneous connections is what I have at the moment, but it is dead slow. Wish to try and invent something that takes a large file and streams it out to lots of receiving stations (like broadcasting) and start building up an array of data, if this fails after x amount of time, then FTP transfers the missing bits. In this scenero, it is likely that the routers will support it and any ports that are required to be open as it is a private network using the same hardware, not internet. I would be interested in anyone else's comments on the TCP Multicast tool any UDP in the Sockets .NET package, best regards Dave |
| cambler From: Redmond, WA USA Posts: 102 Member Since: 04/14/03 |
posted December 22, 2003 1:05 PM Is there a reason you don't set up the 400 machines to poll a single server to get the data they need? You could probably support many more that way. |
| DaveRowland From: South Molton, United Kingdom Posts: 6 Member Since: 12/20/03 |
posted December 22, 2003 1:31 PM Yes, but those 400 odd connections need to get the data quickly... i mean within an hour and that with FTP could generate several megabytes! which isn't possible down certain comms-connections. Send once, hit many! would be my prefered method! |
| cambler From: Redmond, WA USA Posts: 102 Member Since: 04/14/03 |
posted December 22, 2003 1:34 PM Maybe I'm missing something, but a reasonably powerful machine could support 400 simultaneous connections sending 10MB over HTTP, even. Stagger the hits over a 30 minute period, and you could probably even do SOAP. Is the 10MB of data always different, or can you set up a web service to make diffs available and save even more bandwidth? |
| DaveRowland From: South Molton, United Kingdom Posts: 6 Member Since: 12/20/03 |
posted December 22, 2003 2:14 PM It is normally the same 400x10mb, but try and get 10mb down a 1-2mbit IP connection. Would you transfer 4000Mb in a few hours? Tests have showed that my existing application takes 30minutes per connection at about 70-80% utilization of the 2mb connection. I am trying to send the same data several times and where a station misses a few packets, it would recover them on the next round of sending. |
| cambler From: Redmond, WA USA Posts: 102 Member Since: 04/14/03 |
posted December 22, 2003 2:16 PM Whoa, hold the phone. Where did you say 2Mb connection?! |
| Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|