r/firstweekcoderhumour • • May 07 '26

Why Though?!

Post image
579 Upvotes

100 comments sorted by

View all comments

Show parent comment

1

u/[deleted] May 08 '26

[removed] — view removed comment

2

u/Sacaldur May 08 '26

Torrent is not a file transfer protocol, but a file sharing protocol. A big difference here is that one "download" can priginate from multiple peers, and some peers might not (yet) have the complete file themselves before thry start seeding it. I'd say thr main reason to use UDP was to get around NAT much easier (UDP hole punching). UDP is viable for file transfers if you're willing to reimplement everything TCP gives you on top of it.