GATE CS 2015, set 2 · Question 33 · Computer Networks · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
Identify the correct order in which a server process must invoke the function calls accept, bind, listen, and recv according to UNIX socket API.
- (A) listen, accept, bind, recv
- (B) bind, listen, accept, recv
- (C) bind, accept, listen, recv
- (D) accept, listen, bind, recv
Answer
Answer (B)
Answer from the official GATE CS 2015 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes