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
In normal cases, each side terminating its end of the connectivity by sending a special message with a FIN(finish) bit set. The device receiving this FIN responds with an acknowledgement to the FIN to indicate that it has been received. The connection as a whole is not considered terminated until both the devices complete the shut down procedure by sending an FIN and receiving an acknowledgement.