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

 

  1. Connection establishment is performed by the concept called Three-way Handshake.  
  2. 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

Show/Hide Answer
Answer: <p>The biological definitation of child is a human being between the stage of birth and puberty.</p>

Q2:

Define pediatric and pediatrician.


Type: Short Difficulty: Easy

Show/Hide Answer
Answer: <ol start="2">
<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>&nbsp;</p>
<p>A branch of medicine concerned with children and their disease is called pediatrics.</p>
<p>&nbsp;</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>&nbsp;</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

Show/Hide Answer
Answer: <p>Pediatric nursing is a special nursing care of babies, children, and the adolescence. A nurse who specializes in this area is usually referred to pediatric nurse. Pediatric nurse is specializes in caring children or babies .</p>

Q4:

What do you mean by pediatric nurse ?


Type: Short Difficulty: Easy

Show/Hide Answer
Answer: <p>Pediatric nursing is a special nursing care of babies, children, and the adolescence. A nurse who specializes in this area is usually referred to pediatric nurse. Pediatric nurse is specializes in caring children or babies .</p>

Videos

No videos found.

Connection Establishment, Connection Release

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 establishment
Connection establishment

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
Connection releases
Four protocol scenarios for releasing a connection. (a) Normal case of a three-way handshake. (b) final ACK lost. (c) Response lost. (d) Response lost and subsequent DRs (Disconnection Requests) lost.
Four protocol scenarios for releasing a connection. (a) The normal case of a three-way handshake. (b) final ACK lost. (c) Response lost. (d) Response lost and subsequent DRs (Disconnection Requests) lost.

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 :

  1. Tanenbaum, WetherRall, Andrew S. David J. Computer Networks. 5th ed. Boston : Pearson Education, Inc.
  2. W. Stallings, “Data and Computer Communication”, Macmillan Press, 1989.
  3. Kurose Ross, “Computer Networking: A top-down approach”, 2nd Edition, Pearson Education
  4. 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.