It synchronizes both ends of a connection by allowing both sides to agree upon initial sequence numbers.
the function of loopback to connect to tcp/ip in networking
IP
flow control
traffic encryption
Network Interface Layer
Tcp is a transport layer protocol which provides end to end delivery in sequence of byte stream. It is a reliable connection oriented protocol. To provide the reliable and correct data tcp performs various function in which one is "Flow control". In flow control function tcp handle timeout and retransmission of missed/duplicate packets. Time out and retransmission is a function performed to handle the congestion.
TCP/IP because the osi model has seven layer but in tcp/ip only four layers and most important is that the tcp/ip model is reduce the function of osi model.
To make sure that a communication is received by the other end in full and in the correct order.
1. TCP provides reliable, ordered and error-checked delivery of a stream of octets between programs running on computers connected to a local area network
1. TCP provides reliable, ordered and error-checked delivery of a stream of octets between programs running on computers connected to a local area network
The process of a TCP server is to receive TCP connections and handling the data correctly. The letters TCP in TCP server stands for transmission control protocol.
The checksum field in a TCP header is used to verify the integrity of the TCP segment during transmission. It checks for errors that may have occurred in the data, ensuring that the segment received is the same as the one sent. The checksum is calculated over the TCP header and the data payload, and the receiver recalculates the checksum to confirm its accuracy. If the checksums do not match, the segment is considered corrupted and is typically discarded.