Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Connection establishment in TCP is done by wh... Start Learning for Free
Connection establishment in TCP is done by which mechanism?
  • a)
    Flow control
  • b)
    Three-Way Handshaking
  • c)
    Forwarding
  • d)
    Synchronisation
Correct answer is option 'B'. Can you explain this answer?
Verified Answer
Connection establishment in TCP is done by which mechanism?a)Flow cont...
Answer: b
Explanation: Three-Way Handshaking is used to terminate the connection between client and server.
View all questions of this test
Most Upvoted Answer
Connection establishment in TCP is done by which mechanism?a)Flow cont...
Three-Way Handshaking

Three-Way Handshaking is the mechanism used for connection establishment in TCP (Transmission Control Protocol). It is a three-step process that allows two devices to establish a reliable and synchronized connection before data transmission begins.

Process of Three-Way Handshaking

1. Syn - The client initiates the connection by sending a SYN (synchronize) packet to the server. This packet contains a random sequence number to start the connection. The SYN packet is sent to the server's IP address and the specific port number that the client wants to connect to.

2. Syn-Ack - Upon receiving the SYN packet, the server acknowledges the request by sending a SYN-ACK (synchronize-acknowledge) packet back to the client. The SYN-ACK packet contains an incremented sequence number and an acknowledgment number that indicates the server's readiness to receive data.

3. Ack - Finally, the client acknowledges the server's response by sending an ACK (acknowledge) packet back. This packet contains the next sequence number, which indicates the client's readiness to start transmitting data. Upon receiving the ACK packet, the server considers the connection established and both devices can begin data transmission.

Importance of Three-Way Handshaking

Three-Way Handshaking is crucial for establishing a reliable and synchronized connection between two devices. It ensures that both the client and server are ready to exchange data and sets the initial sequence numbers for future communication. This process provides several benefits:

1. Reliability - By exchanging SYN and ACK packets, both devices confirm their willingness and ability to communicate. This reduces the chances of data loss or miscommunication during the connection establishment phase.

2. Synchronization - Three-Way Handshaking allows both devices to agree upon the initial sequence numbers for data transmission. This synchronization ensures that data is received and processed in the correct order, maintaining the integrity of the communication.

3. Security - The three-step process of Three-Way Handshaking helps prevent unauthorized devices from establishing connections. Without the acknowledgment from both sides, the connection cannot be established, providing a level of security against unauthorized access.

4. Efficiency - Three-Way Handshaking provides an efficient and reliable method for connection establishment. It allows both devices to negotiate and agree upon initial parameters, reducing the chances of errors and ensuring a smooth data transmission process.

In conclusion, Three-Way Handshaking is the mechanism used for connection establishment in TCP. It involves the exchange of SYN, SYN-ACK, and ACK packets between the client and server, ensuring reliability, synchronization, security, and efficiency in the connection establishment process.
Explore Courses for Computer Science Engineering (CSE) exam

Similar Computer Science Engineering (CSE) Doubts

Top Courses for Computer Science Engineering (CSE)

Connection establishment in TCP is done by which mechanism?a)Flow controlb)Three-Way Handshakingc)Forwardingd)SynchronisationCorrect answer is option 'B'. Can you explain this answer?
Question Description
Connection establishment in TCP is done by which mechanism?a)Flow controlb)Three-Way Handshakingc)Forwardingd)SynchronisationCorrect answer is option 'B'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Connection establishment in TCP is done by which mechanism?a)Flow controlb)Three-Way Handshakingc)Forwardingd)SynchronisationCorrect answer is option 'B'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Connection establishment in TCP is done by which mechanism?a)Flow controlb)Three-Way Handshakingc)Forwardingd)SynchronisationCorrect answer is option 'B'. Can you explain this answer?.
Solutions for Connection establishment in TCP is done by which mechanism?a)Flow controlb)Three-Way Handshakingc)Forwardingd)SynchronisationCorrect answer is option 'B'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of Connection establishment in TCP is done by which mechanism?a)Flow controlb)Three-Way Handshakingc)Forwardingd)SynchronisationCorrect answer is option 'B'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Connection establishment in TCP is done by which mechanism?a)Flow controlb)Three-Way Handshakingc)Forwardingd)SynchronisationCorrect answer is option 'B'. Can you explain this answer?, a detailed solution for Connection establishment in TCP is done by which mechanism?a)Flow controlb)Three-Way Handshakingc)Forwardingd)SynchronisationCorrect answer is option 'B'. Can you explain this answer? has been provided alongside types of Connection establishment in TCP is done by which mechanism?a)Flow controlb)Three-Way Handshakingc)Forwardingd)SynchronisationCorrect answer is option 'B'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Connection establishment in TCP is done by which mechanism?a)Flow controlb)Three-Way Handshakingc)Forwardingd)SynchronisationCorrect answer is option 'B'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev