Project ForgeSign up free
Computer Networks
Transport Protocols & IP Addressing
GATE 2008
Medium

Which of the following system calls results in the sending of SYN packets?

  • Asocket
  • Bbind
  • Clisten
  • connect

Explanation

connect() (called by the client) initiates the TCP three-way handshake by sending the SYN packet. socket() just creates a descriptor, bind() assigns an address, and listen() puts a socket into passive listening mode — none of these transmit anything over the network.

Source: GATE CS 2008 (2008)

This question is part of a 15-day revision cycle — sign in and Project Forge will bring it back the day before you'd forget it.

Start revising free