GATE CS 2017, set 2 · Question 18 · Computer Networks · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

Consider socket API on a Linux machine that supports connected UDP sockets. A connected UDP socket is a UDP socket on which connect function has already been called. Which of the following statements is/are CORRECT?
(I) A connected UDP socket can be used to communicate with multiple peers simultaneously.
(II) A process can successfully call connect function again for an already connected UDP socket.

  1. (A) I only
  2. (B) II only
  3. (C) Both I and II
  4. (D) Neither I nor II
Answer

Answer (B)

Answer from the official GATE CS 2017 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes