Connection Establishment, Connection Release
For the TCP protocol connection should be establish before communication connection should be released after to terminate the communication.
Summary
For the TCP protocol connection should be establish before communication connection should be released after to terminate the communication.
Things to Remember
- Connection establishment is performed by the concept called Three-way Handshake.
- Connection Release is performed by a concept called Four-way hand shake.
MCQs
No MCQs found.
Subjective Questions
Q1:
what does a child mean ?
Type: Very_short Difficulty: Easy
Q2:
Define pediatric and pediatrician.
Type: Short Difficulty: Easy
<li><strong>Pediatrics</strong></li>
</ol>
<p>The word 'Pediatrics' derived from Greek word " Pedia " which means child, " iatrike " means treatment and "ics" means a branch of science . A full sense Pedia + iatrike + ics = pediatrics.</p>
<p> </p>
<p>A branch of medicine concerned with children and their disease is called pediatrics.</p>
<p> </p>
<ol start="3">
<li><strong>Pediatrician</strong></li>
</ol>
<p>A pediatrician is a child's physician who provides ;</p>
<ol>
<li>Preventive health maintenance for healthy children,</li>
<li>Medical care for children who are actually or chronically ill,</li>
</ol>
<p>iii. Pediatrician manages the physical, mental and emotional well-being of their parent, in every stage of development in good health or illness.</p>
<p> </p>
<p>Generally, pediatrician focus on babies, children, adolescent and young adults from birth to age 21 years to ,</p>
<ol>
<li>Reduce infant and child mortality.</li>
<li>Control infectious diseases.</li>
</ol>
<p>iii. Foster healthy lifestyle.</p>
<ol>
<li>Ease the difficulties of children and adolescent with a chronic condition</li>
</ol>
Q3:
What do you mean by pediatric nurse ?
Type: Short Difficulty: Easy
Q4:
What do you mean by pediatric nurse ?
Type: Short Difficulty: Easy
Videos
No videos found.

Connection Establishment, Connection Release
Connection Establishment
A TCP uses 3-way handshaking mechanism to establish the connection between the nodes. The basic steps followed by TCP to establish the connection are as follows :
Step 1: Client end system sends TCP SYN control segment to server
Step 2: Server end system receives SYN, replies with SYN-ACK
Allocates buffers
ACKs received SYN
Step 3: Client receives SYN-ACK
the connection is now set up
ï‚– client starts the “real work

Connection Release
Release can be asymmetric(one sided, where data may loss ) or symmetric (both sides agreed) Steps for symmetric Release:
• Step 1: Client end system sends TCP FIN control segment to server
• Step 2: Server receives FIN, replies with ACK. Closes connection, sends FIN.
• Step 3: Client receives FIN, replies with ACK.
Enters “timed wait” - will respond with ACK to received FINs
• Step 4: server, receives ACK. Connection closed.


Connection Release(Problem)
The two-army problem
• For blue army to win, both troops(1&2)must attack white army at same time
• For sync., #1 sends msg. to #2 and waits for ACK. Even though #1 receives ACK, attack is not possible as #2 doesn’t know whether #1 has received its ACK or not
• Even, 3-way handshaking (#1 again sending ACK) will not guarantee successful attack as now #1 is not sure if #2 has received its ACK
• It can be proved that no protocol exists that works, but little risk can be taken while releasing the connection.
• Although 3-way handshaking is not infallible, it is usually adequate.
Reference :
- Tanenbaum, WetherRall, Andrew S. David J. Computer Networks. 5th ed. Boston : Pearson Education, Inc.
- W. Stallings, “Data and Computer Communication”, Macmillan Press, 1989.
- Kurose Ross, “Computer Networking: A top-down approach”, 2nd Edition, Pearson Education
- Larry L. Peterson, Bruce S. Davie, “Computer Networks: A Systems Approach”, 3rd Edition, Morgan Kaufmann Publishers
Lesson
Transport Layer
Subject
Computer Engineering
Grade
Engineering
Recent Notes
No recent notes.
Related Notes
No related notes.