QuestionQ857

IP Services

How do TCP and UDP differ in how they establish a connection between two endpoints?

  • A TCP uses the three-way handshake, and UDP does not guarantee message delivery.
  • B TCP uses synchronization packets, and UDP uses acknowledgment packets.
  • C UDP provides reliable message transfer, and TCP is a connectionless protocol.
  • D UDP uses SYN, SYN ACK, and FIN bits in the frame header while TCP uses SYN, SYN ACK, and ACK bits.
Explanation

TCP is a connection-oriented transport protocol that establishes communication with a three-way handshake using SYN, SYN-ACK, and ACK. UDP is connectionless, so it does not perform a handshake before sending data and does not guarantee delivery, ordering, or retransmission. That makes the choice describing TCP's three-way handshake and UDP's lack of delivery guarantee the correct one.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!