What’s the fastest way to send a file over UDP?
A) Create a large datagram for each chunk of the file, send that, and wait for a acknowledgement from the client before continuing
B) Create a large datagram for each chunk of the file, send multiple (numbered) datagrams, and wait for an acknowledgement that all sections were received, then continue the transfer. If some were not received with 5 seconds, re-transmit those parts
C) Some other method I’m not yet aware of
What’s the fastest way to send a file over UDP? A) Create a large
Share
Solution B is faster than A, but solution C is even more fast (and safe): try using TCP instead of UDP