Why sequence number is random?

Protect TCP from data error.
A succeed to connect to B.
A send “hello” to B but B failed to receive that, while the "hello" message wandering in the network.
A closed the connection after too many times of resending.
A reconnect to B with same socket(with same IP and port) in a very short time.
If the message "hello" then arrive at B, it will be treated as valid, because it's SIN is valid!

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 12,160评论 0 10
  • The Inner Game of Tennis W Timothy Gallwey Jonathan Cape ...
    网事_79a3阅读 14,269评论 3 20
  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 13,472评论 0 23
  • 提前批终于结束了。送了一天的考。无奈晚自习还有别的班的课。 此时,感觉头疼欲裂。可能是连续上班三个晚自习的缘故吧。...
    勤奋的猴子阅读 1,469评论 0 1
  • 在工作中偶然会遇到拼json字符串的场景,根据数据量的不同我会采用不同的拼串方式,当数据量很小的时候,我会按照js...
    子页阅读 5,232评论 0 0