Answer
See the explanation
Work Step by Step
To say that TCP (Transmission Control Protocol) is a connection-oriented protocol means that it establishes a reliable and dedicated connection between two devices before data transmission occurs. This connection is established through a process called the TCP handshake.
When two devices want to communicate using TCP, they first establish a connection by exchanging a series of control messages. This handshake process ensures that both devices are ready to send and receive data and that they agree on certain parameters, such as the initial sequence numbers and window sizes.
Once the connection is established, TCP ensures that data is transmitted reliably and in the correct order. It achieves this by using acknowledgments and sequence numbers to track the delivery of data packets. If a packet is lost or arrives out of order, TCP will retransmit it or rearrange the packets to ensure correct delivery.
The connection-oriented nature of TCP provides several advantages. It guarantees reliable data delivery, as it ensures that all packets are received and reassembled correctly at the destination. It also provides flow control mechanisms to prevent overwhelming the receiving device with data. Additionally, TCP handles congestion control to avoid network congestion and ensure fair sharing of network resources.
In contrast, connectionless protocols, such as UDP (User Datagram Protocol), do not establish a dedicated connection before data transmission. They simply send packets without any guarantee of delivery or order. While connectionless protocols offer lower overhead and faster transmission, they lack the reliability and error correction mechanisms provided by TCP.