Is a UDP packet guaranteed to be complete, practical sense, if delivered?

天大地大妈咪最大 提交于 2019-12-05 23:52:32

No for two reasons:

  • UDP checksums are not mandatory (with IPv4). So corrupted packets can be delivered to applications.
  • Internet checksums can clash much more frequently than other hashes. So even if the checksum matches, the data may be corrupted.

I am no expert but as far as I know, although there isn't any guarantee that the package reaches the destination at all in the most cases it should be correct if it reaches the destination. I think that should be the case because normally there is an error check (Frame Check Sum) on the Data Link Layer.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!