Can a TCP checksum fail to detect an error? If yes, how is this dealt with?

后端 未结 6 1019
别跟我提以往
别跟我提以往 2020-12-04 12:57

If a TCP payload gets corrupted in transit the recomputed checksum won\'t match the transmitted checksum. Great, all fine so far.

If a TCP checksum gets corrupted in

6条回答
  •  有刺的猬
    2020-12-04 13:40

    I would imagine the probability is one in a billion million zillion kajillion, because if the TCP data is corrupted, which is the transport layer, it will also mean the other layers (datalink and network) will also be corrupted. I believe at least the datalink layer has a checksum for integrity, so you'd have to have both checksums fail.

    Corrupting in such a way that at least two separate checksums fail, is astronomically unlikely, maybe even impossible.

提交回复
热议问题