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

Which one of the following socket API functions converts an unconnected active TCP socket into a passive socket?

  1. (A) connect
  2. (B) bind
  3. (C) listen
  4. (D) accept
Answer

Answer (C)

Answer from the official GATE CS 2014 answer key.

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