The GATE Grind

GATE 2008 CS – Question 59

Computer Networks · TCP: Flow Control, Congestion Control, Socket API · 2 marks · Multiple choice

Server S calls socket(), bind(), listen(), then is preempted before accept(). Client P subsequently calls socket(), connect() to S. Which event can occur?

  1. connect() returns successfully
  2. connect() blocks
  3. connect() returns an error
  4. connect() causes a core dump

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (A) connect() returns successfully

Explanation

We are sorry we couldn't write detailed soluition for this, we are working on it!, please consider asking your own AI, its just 2-3 clicks with very minimum effort

More TCP: Flow Control, Congestion Control, Socket API questions

All TCP: Flow Control, Congestion Control, Socket API questions →