Identify the correct order in which a server process must invoke the function…

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

Identify the correct order in which a server process must invoke the function calls accept, bind, listen, and recv according to UNIX socket API.

  1. A.

    listen, accept, bind, recv

  2. B.

    bind, listen, accept, recv

  3. C.

    bind, accept, listen, recv

  4. D.

    accept, listen, bind, recv

Attempted by 365 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…