Describe the three-way handshake.

What will be an ideal response?


To establish connection-oriented communication, each computer needs a way to know that the other computer received the packets sent. Sequence and acknowledgement numbers perform
this function, as demonstrated in the way that two hosts first establish the TCP connection: the TCP three-way handshake.

Host A includes a randomly generated initial sequence number in its first packet to Host B. This packet is called a SYN packet because the TCP SYN flag is set. The acknowledgement number is zero because the SYN packet is the first in the session and there is no previous packet for Host A to acknowledge.

Host B receives the SYN packet and responds with a SYN ACK packet. This packet includes a randomly generated initial sequence number for Host B. As a way of proving that Host B received the SYN packet from Host A, the acknowledgement number is set to the number that Host B expects to receive in the second packet from Host A. The first packet's sequence number is incremented by one and placed as the acknowledgement number.

The final packet in the three-way handshake is the ACK packet that Host A sends in response to the SYN ACK from Host B. Now Host A increments its initial sequence number by one and sets the acknowledgement number to be one more than the initial sequence number that Host B sent in the SYN ACK

Computer Science & Information Technology

You might also like to view...

The heuristics we outlined in Section 16.5.4 indicate that the need for models is higher in distributed organizations. Open-source projects are highly distributed projects that follow an entity-based life cycle and typically do not have requirements or system design documents. Provide examples of how modeling knowledge is made explicit and transferred among participants in such cases.

What will be an ideal response?

Computer Science & Information Technology

Use the UDT constructed in Exercise 14.8 to answer the following query: List the names of al l projects that have more than ?ve members.

What will be an ideal response?

Computer Science & Information Technology

All slides in a section can be selected by clicking on the ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

____________________, also called graphs, provide a visual way to display numerical data in a presentation.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology