←back to thread

188 points ilove_banh_mi | 1 comments | | HN request time: 0.712s | source
Show context
kmeisthax ◴[] No.42170943[source]
Dumb question: why was it decided to only provide an unreliable datagram protocol in standard IP transit?
replies(1): >>42171038 #
michaelt ◴[] No.42171038[source]
Because when you're sending a signal down a wire or through the air, fundamentally the communication medium only provides "Send it, maybe it arrives"

At any time, the receiver could lose power. Or a burst of interference could disrupt the radio link. Or a backhoe could slice through the cable. Or many other things.

IP merely reflects this physical reality.

replies(1): >>42183531 #
1. kmeisthax ◴[] No.42183531[source]
Ok, but why does TCP exist, then? If we could make streams reliable in the late 1970s why didn't we apply that to datagrams as well?