File transfer udp




















Finally consider why you are taking on this task? Will the speed gains be worth it after the amount of time spent developing it? Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 10 years, 3 months ago. Active 6 years, 2 months ago. Viewed 6k times. In a nutshell I need to: Take large files and send them in chunks Be able to throttle bandwidth from the client Create some kind of packet numbering system for errors, retransmitions and assembling files by chunk on server yes, all the stuff we get from TCP for free :- Configurable datagram size — I think some firewalls complain if they get too big?

Improve this question. Henk Holterman k 29 29 gold badges silver badges bronze badges. Scott Scott 3 3 gold badges 12 12 silver badges 36 36 bronze badges. Do you really expect to get any speed advantage over TCP why? At a guess, the speed advantages of UDP come from precisely the fact it doesn't natively implement the things you say you're going to implement anyway.

Or in other words, the larger the file, the more you care of a reliable transport. Shop for a TFTP library. We're actually seeing these speeds now with rocketstream. The idea is to not ACK every packed.

Start at an arbitrary number of packets, then check to make sure they got there. If they did, transmit the next set of packets. If the didn't or there were any errors, retransmit and lower the number of packets between ACKs. The idea being big performance gains on better networks, less gains on crappy ones. TCP helps computers communicate by breaking large data sets into individual packets, transmitting them, and then reforming the packet in the original order once the data set has been received.

When comparing the architecture of the two protocol tools, the main difference is that UDP sends the packets without waiting for each connection to go through, which means lower bandwidth overhead and latency. TCP, on the other hand, sends the packets one at a time, in order, waiting to make sure each connection goes through before starting the next.

To better understand the pros and cons of each protocol, below is a basic comparison of the two:. So as the market shifts and advancements continue to be made with the source code, UDP is quickly becoming the file transfer tool of the future. So what UDP should you use? Share this post. Big Data Transfer Solution for Businesses. Leave your thought here Cancel reply Your email address will not be published.

Search Search for: Search. Download Now. Irdeto TraceMark for Distribution v3. Highlighted Posts What is Apera?

North America Office. Europe Office. Quick Links.



0コメント

  • 1000 / 1000