How does TCP connection terminate if one of the machine dies?

后端 未结 5 1418
孤街浪徒
孤街浪徒 2021-02-14 04:46

If a TCP connection is established between two hosts (A & B), and lets say host A has sent 5 octets to host B, and then the host B crashes (due to unknown reason). The host

5条回答
  •  被撕碎了的回忆
    2021-02-14 05:07

    Please follow this link

    now a very simple answer to your question in my view is, The connection will be timed out and will be closed. another possibility that exists is that some ICMP error might be generated due to due un-responsive machine.

    Also, if the crashed machine is online again, then the procedure described in the link i just pasted above will be observed.

提交回复
热议问题