Answer:
TCP (Transmission Control Protocol) is a connection-oriented protocol. This means that before any data is transmitted between two hosts, a connection is established between them, and a reliable data transfer channel is set up. The process of establishing a TCP connection is called a three-way handshake, where the two hosts exchange packets to negotiate and agree on the parameters of the connection, such as the initial sequence numbers, the maximum segment size, and the window size. Once the connection is established, data can be transmitted between the two hosts in a reliable and ordered manner, with flow control and congestion control mechanisms to ensure that the data is delivered without errors or losses. Finally, the connection is closed when all the data has been transmitted or when one of the hosts terminates the connection.
TCP is widely used in applications that require reliable and ordered delivery of data, such as web browsing, file transfer, email, and remote login. However, because of its connection-oriented nature and the overhead of establishing and maintaining connections, TCP is generally slower and more resource-intensive than UDP, which is a connectionless protocol.
TCP (Transmission Control Protocol) is a connection-oriented protocol. This means that before any data is transmitted between two hosts, a connection is established between them, and a reliable data transfer channel is set up. The process of establishing a TCP connection is called a three-way handshake, where the two hosts exchange packets to negotiate and agree on the parameters of the connection, such as the initial sequence numbers, the maximum segment size, and the window size. Once the connection is established, data can be transmitted between the two hosts in a reliable and ordered manner, with flow control and congestion control mechanisms to ensure that the data is delivered without errors or losses. Finally, the connection is closed when all the data has been transmitted or when one of the hosts terminates the connection.
TCP is widely used in applications that require reliable and ordered delivery of data, such as web browsing, file transfer, email, and remote login. However, because of its connection-oriented nature and the overhead of establishing and maintaining connections, TCP is generally slower and more resource-intensive than UDP, which is a connectionless protocol.
You may be interested in:
Computer Networking MCQs