1203
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 4 points 1 year ago

The benefit is that you don't need to wait for verification from the user that they got the packet before you can send the next group of packets. If you're, say, watching a stream, it's not important that you received the packets because that's just a few skipped frames or a second of lag, whereas the tradeoff on overhead is pretty big.

TCP is more important with like file downloads where it's okay if it takes a couple hours to get a really big file as long as that file isn't corrupted or missing any data.

this post was submitted on 21 Jul 2023
1203 points (97.5% liked)

Programmer Humor

32050 readers
1327 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS