SlideShare une entreprise Scribd logo
1  sur  7
SRI KRISHNA GROUP OF
INSTITUTION
SUBJECT : COMPUTER NETWORKS.
SUBCODE : 21CS52
TOPIC : CONNECTION ESTABLISHMENT (MOD-4)
UNDER THE GUIDANCE OF : PRADEEPA MAM (Ast Prof of ISE)
DONE BY: CHANDANA L (1KT21IS008) ISE
Formal Introduction
• Establishing a connection sounds easy, but it is actually surprisingly
tricky.
• At first glance, it would seem sufficient for one transport entity to just
send a CONNECTION REQUEST segment to the destination and wait for a
CONNECTION ACCEPTED reply.
• The major problem occurs when the network can lose, delay, corrupt,
and duplicate packets.
• Consider the network using datagrams inside and every packet
follows a different route. Some of the packets might get stuck in
a traffic jam inside the network and take a long time to arrive.
• This scheme has a basic flaw: it requires each transport entity to
maintain a certain amount of history information indefinitely.
This history must have both the source and destination
machines. Otherwise, if a machine crashes and loses its
memory.
• Packet lifetime can be restricted of the following techniques:
1. Restricted network design.
2. Putting a hop counter in each packet.
3. Timestamping each packet.
• The first technique includes - method that prevents packets from
looping, combined with bounding delay.
• The Second Technique includes- hop count initialized to some value
and decremented each time the packet is forwarded.
• The Third method requires each packet to bear the time it was
created, with the routers agreeing to discard any packet older than
some agreed-upon time.
• The connection establishment in
TCP is called three-way hand
shaking.
• Here the client makes
connection with another
application prog called
“SERVER”.
• This req is called passive open.
• TCP now starts 3-way
handshaking process.
• The client takes a random
number called Initial
Sequence(ISN)
3- Way Handshaking
• SYN segment is a control
segment and carries no data.
• Now the server sends the
second segment called SYN+ACK
segment with two flag bits set.
• SYN segment is for
communication, sequence num
is 13000.
• ACK flag has sequence num of
6001 which the sever expects to
receive frm the client.
• At last the client sends the third
segment that is ACK segment.
• It acknowledges the second
segment with ACK flag and
acknowledgement number
13001.
• Same sequence num as SYN
segment I,e 6000; ACK segment
does not consume any sequence
number.
• NOTE- Third segment does not
carry data and consumes no
sequence numbers.
THANK YOU !!

Contenu connexe

Similaire à Computernetworking21CS52vtunotesseminar.pptx

Congestion control avoidance
Congestion control avoidanceCongestion control avoidance
Congestion control avoidance
Anthony-Claret Onwutalobi
 
connectionestablishmentflowandcongestioncontrol-190130165746.pdf
connectionestablishmentflowandcongestioncontrol-190130165746.pdfconnectionestablishmentflowandcongestioncontrol-190130165746.pdf
connectionestablishmentflowandcongestioncontrol-190130165746.pdf
ImXaib
 

Similaire à Computernetworking21CS52vtunotesseminar.pptx (20)

A427 nic card
A427 nic cardA427 nic card
A427 nic card
 
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdfDCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
 
Mcseminar
McseminarMcseminar
Mcseminar
 
CN R16 -UNIT-6.pdf
CN R16 -UNIT-6.pdfCN R16 -UNIT-6.pdf
CN R16 -UNIT-6.pdf
 
Sack TCP Lecture13 all in one easily explain.ppt
Sack TCP Lecture13 all in one easily explain.pptSack TCP Lecture13 all in one easily explain.ppt
Sack TCP Lecture13 all in one easily explain.ppt
 
Transport Layer In Computer Network
Transport Layer In Computer NetworkTransport Layer In Computer Network
Transport Layer In Computer Network
 
Congestion control avoidance
Congestion control avoidanceCongestion control avoidance
Congestion control avoidance
 
TCP Congestion Control
TCP Congestion ControlTCP Congestion Control
TCP Congestion Control
 
Stop-and-Wait ARQ Technique for Repairing Frame and Acknowledgment Transmission
Stop-and-Wait ARQ Technique for Repairing Frame and Acknowledgment TransmissionStop-and-Wait ARQ Technique for Repairing Frame and Acknowledgment Transmission
Stop-and-Wait ARQ Technique for Repairing Frame and Acknowledgment Transmission
 
Transport laye
Transport laye Transport laye
Transport laye
 
Network protocols and vulnerabilities
Network protocols and vulnerabilitiesNetwork protocols and vulnerabilities
Network protocols and vulnerabilities
 
VTU 8TH SEM CSE ADHOC NETWORKS SOLVED PAPERS OF JUNE-2014 DEC-14 & JUNE-2015
VTU 8TH SEM CSE ADHOC NETWORKS SOLVED PAPERS OF JUNE-2014 DEC-14 & JUNE-2015VTU 8TH SEM CSE ADHOC NETWORKS SOLVED PAPERS OF JUNE-2014 DEC-14 & JUNE-2015
VTU 8TH SEM CSE ADHOC NETWORKS SOLVED PAPERS OF JUNE-2014 DEC-14 & JUNE-2015
 
Computer Networks Module 2.pdf
Computer Networks Module 2.pdfComputer Networks Module 2.pdf
Computer Networks Module 2.pdf
 
Seamless and Secured wide Fidelity enhancement in moving vehicles Using Eeack...
Seamless and Secured wide Fidelity enhancement in moving vehicles Using Eeack...Seamless and Secured wide Fidelity enhancement in moving vehicles Using Eeack...
Seamless and Secured wide Fidelity enhancement in moving vehicles Using Eeack...
 
presentationphysicallyer.pdf talked about computer networks
presentationphysicallyer.pdf talked about computer networkspresentationphysicallyer.pdf talked about computer networks
presentationphysicallyer.pdf talked about computer networks
 
Connection Establishment & Flow and Congestion Control
Connection Establishment & Flow and Congestion ControlConnection Establishment & Flow and Congestion Control
Connection Establishment & Flow and Congestion Control
 
connectionestablishmentflowandcongestioncontrol-190130165746.pdf
connectionestablishmentflowandcongestioncontrol-190130165746.pdfconnectionestablishmentflowandcongestioncontrol-190130165746.pdf
connectionestablishmentflowandcongestioncontrol-190130165746.pdf
 
Dcn ppt by roma
Dcn ppt by romaDcn ppt by roma
Dcn ppt by roma
 
Dcn ppt on data link layer
Dcn ppt on data link layerDcn ppt on data link layer
Dcn ppt on data link layer
 
Tcp (1)
Tcp (1)Tcp (1)
Tcp (1)
 

Dernier

21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
rahulmanepalli02
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
drjose256
 

Dernier (20)

Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Station
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
21scheme vtu syllabus of visveraya technological university
21scheme vtu syllabus of visveraya technological university21scheme vtu syllabus of visveraya technological university
21scheme vtu syllabus of visveraya technological university
 
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, Functions
 
Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentation
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
History of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationHistory of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & Modernization
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
 
Interfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfInterfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdf
 

Computernetworking21CS52vtunotesseminar.pptx

  • 1. SRI KRISHNA GROUP OF INSTITUTION SUBJECT : COMPUTER NETWORKS. SUBCODE : 21CS52 TOPIC : CONNECTION ESTABLISHMENT (MOD-4) UNDER THE GUIDANCE OF : PRADEEPA MAM (Ast Prof of ISE) DONE BY: CHANDANA L (1KT21IS008) ISE
  • 2. Formal Introduction • Establishing a connection sounds easy, but it is actually surprisingly tricky. • At first glance, it would seem sufficient for one transport entity to just send a CONNECTION REQUEST segment to the destination and wait for a CONNECTION ACCEPTED reply. • The major problem occurs when the network can lose, delay, corrupt, and duplicate packets.
  • 3. • Consider the network using datagrams inside and every packet follows a different route. Some of the packets might get stuck in a traffic jam inside the network and take a long time to arrive. • This scheme has a basic flaw: it requires each transport entity to maintain a certain amount of history information indefinitely. This history must have both the source and destination machines. Otherwise, if a machine crashes and loses its memory.
  • 4. • Packet lifetime can be restricted of the following techniques: 1. Restricted network design. 2. Putting a hop counter in each packet. 3. Timestamping each packet. • The first technique includes - method that prevents packets from looping, combined with bounding delay. • The Second Technique includes- hop count initialized to some value and decremented each time the packet is forwarded. • The Third method requires each packet to bear the time it was created, with the routers agreeing to discard any packet older than some agreed-upon time.
  • 5. • The connection establishment in TCP is called three-way hand shaking. • Here the client makes connection with another application prog called “SERVER”. • This req is called passive open. • TCP now starts 3-way handshaking process. • The client takes a random number called Initial Sequence(ISN) 3- Way Handshaking
  • 6. • SYN segment is a control segment and carries no data. • Now the server sends the second segment called SYN+ACK segment with two flag bits set. • SYN segment is for communication, sequence num is 13000. • ACK flag has sequence num of 6001 which the sever expects to receive frm the client. • At last the client sends the third segment that is ACK segment. • It acknowledges the second segment with ACK flag and acknowledgement number 13001. • Same sequence num as SYN segment I,e 6000; ACK segment does not consume any sequence number. • NOTE- Third segment does not carry data and consumes no sequence numbers.