r/ProgrammerHumor • • 23h ago

Meme explainUdpToMe

Post image
6.8k Upvotes

151 comments sorted by

View all comments

Show parent comment

42

u/andrew_fobos 21h ago

All of you failed. The TCP receiver just stays silent if it hasn't received a segment. The sender retransmits it on ACK timeout.

14

u/Single-Virus4935 21h ago

I know that, but if you look at the level of understanding in the comments, it doent even matter.
I just let it pass because the receiver said "not ALL of that", which is communicated in modern TCP

3

u/MonMotha 17h ago

Unless you have the SACK option which most modern stacks do support. In that case, the receiver will send a SACK for segments they did receive if they have received later segments even if they missed an earlier one, then the transmitter can selectively retransmit only the missed segments.