Consider socket API on a Linux machine that supports connected UDP sockets. A…

GATE · 2017 · CS · Set 2 · Computer Science & IT

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

Attempted by 215 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…