• S
    SwaseekhGATE Preparation
General
  • Dashboard
  • Syllabus
  • Questions
  • Aptitude
  • Mock Tests
  • TCS NQT 2026
Account
  • Pricing
  • Contact
  1. GATE CS
  2. PYQs
  3. Computer Networks

Which of the following system calls results in the sending of SYN packets? A. socket B. bind C. listen D. connect

GATE 2008 · Computer Networks · Sockets · medium

Answer: connect() results in the sending of SYN packets. Answer: D. connect

  1. Review what each socket call does: socket() — creates socket, no network activity. bind() — assigns local address to socket, no network activity. listen() — puts socket in passive mode to accept connections, no network activity. connect() — actively initiates TCP connection to specified server address.
  2. Identify which call sends SYN: When connect() is called by the client, the TCP/IP stack automatically sends a SYN packet to the server's IP:port. This initiates the three-way handshake. No other listed call triggers packet transmission.