Tcp Connection State Diagram. Principle termination of a TCP connection state diagram. TCP detects and repairs essentially all the data transfer problems that may be introduced by packet loss duplication or errors at the IP layer or below.
To keep track of all the different events happening during connection establishment connection termination and data transfer TCP is specified as the finite state machine shown in Figure. The termination of a TCP connection requires four exchanges of TCP segments. As a TCP connection is bidirectional full duplex connection termination process should be made in both directions of the communication.
TCP state transition diagram.
A TCP connection goes through a series of states during its lifetime. Because of its management of connection state information about the connection kept by both endpoints TCP is a considerably more complicated protocol than UDP. To keep track of all the different events happening during connection establishment connection termination and data transfer TCP is specified as the finite state machine shown in Figure. Weve described numerous rules regarding the initiation and termination of a TCP connection.