Which of the following statements is correct in respect of TCP and UDP protocols?

Which of the following statements is correct in respect of TCP and UDP protocols? Correct Answer TCP is connection-oriented, whereas UDP is connectionless.

TCP (Transmission Control Protocol):

  • TCP (Transmission control protocol) is a connection-oriented reliable transport protocol. It provides a process to process communications using port numbers.
  •  It provides services like flow control, error control, congestion control. A packet that is sent is known as a segment in TCP.
  • In TCP, transmission requires three phases: connection establishment, data transfer, and connection termination. It uses three-way handshaking mechanism for connection establishment and termination.

 

UDP (User datagram protocol):

  • UDP (User datagram protocol) is called a connectionless, unreliable transport protocol.
  • It does not add anything to the services of IP except providing a process to process communication.
  • There is no flow control, error control and congestion control mechanism in UDP. To send a message from one process to another,
  • UDP protocol encapsulates and decapsulates messages in an IP datagram.

Related Questions

Generally, TCP is reliable and UDP is not reliable. DNS which has to be reliable uses UDP because