Computer AwarenessHardIBPS SO IT · IBPS PO Mains

Which sequence correctly describes how a TCP connection is set up by the three-way handshake?

  1. A. Server sends SYN first, client replies with SYN-ACK, server finishes with ACK
  2. B. Client sends SYN, server replies with SYN-ACK, client finishes with ACK
  3. C. Client sends SYN, server replies with FIN, client finishes with ACK
  4. D. Client sends SYN and ACK together, server replies with SYN, client sends nothing more

Correct answer: B. Client sends SYN, server replies with SYN-ACK, client finishes with ACK

The side opening the connection (client) sends SYN, the server answers SYN-ACK (its own SYN plus an acknowledgement), and the client confirms with ACK. FIN is used to CLOSE a connection.

हिंदी में

कौन-सा क्रम थ्री-वे हैंडशेक द्वारा TCP कनेक्शन स्थापित होने का सही वर्णन करता है?

  1. A. सर्वर पहले SYN भेजता है, क्लाइंट SYN-ACK से उत्तर देता है, सर्वर ACK से पूरा करता है
  2. B. क्लाइंट SYN भेजता है, सर्वर SYN-ACK से उत्तर देता है, क्लाइंट ACK से पूरा करता है
  3. C. क्लाइंट SYN भेजता है, सर्वर FIN से उत्तर देता है, क्लाइंट ACK से पूरा करता है
  4. D. क्लाइंट SYN और ACK एक साथ भेजता है, सर्वर SYN से उत्तर देता है, क्लाइंट और कुछ नहीं भेजता

उत्तर: B. कनेक्शन खोलने वाला पक्ष (क्लाइंट) SYN भेजता है, सर्वर SYN-ACK (अपने SYN के साथ पावती) से उत्तर देता है, और क्लाइंट ACK से पुष्टि करता है। FIN कनेक्शन को बंद करने के लिए प्रयोग होता है।

More Computer Awareness questions

Exams that ask this topic