Home » Computer Networks » Computer networks miscellaneous » Question

Computer networks miscellaneous

  1. Which of the following system calls results in the sending of SYN packets?
    1. Socket
    2. Bind
    3. Listen
    4. Connect
Correct Option: D

The 3 way handshake is shown as below

Host A sends a TCP SYNchronize packet to Host B Host B receives A’s SYN Host B sends a SYNchronize-ACKnowledgement Host A receives B’s SYN-ACK Host A sends ACKnowledge Host B receives ACK. TCP connecting is (Established). SYNchronize and ACKnowledge messagess are indicated by a bit inside the TCP head of the segment. The handshake (TCP Handshaking) between sender and receiver is established by connect so that SYN packets could be sent.
TCP knows whether the network connection is opening, synchronizing or established by using the SYNchronize and ACKnowledge messages when establishing a network connection. When the communication between two computer ends, another 3-way communication is performed to tear down the TCP connection. This setup and teardown of a TCP connection is part of what qualifies TCP a reliable protocol.



Your comments will be displayed only after manual approval.