SlideShare une entreprise Scribd logo
1  sur  17
TCP PROTOCOL

         M.SANGEETHA
       Pondicherry University
TCP HEADER

           SOURCE ADDRESS                        DESTINATION ADDRESS

                               SEQUENCE NUMBER

                          ACKNOWLEDGEMENT NUMBER
                  U   A    P   R   S   F
TCP HLEN          R   C    S   S   Y   I            WINDOW SIZE
                  G   K    H   T   N   N

             CHECKSUM                              URGENT POINTER

                                   OPTIONS
SENDING AND RECEIVING
      BUFFERS
CLIENT                                    SERVER


                     SENDING                    ACK
WAITING                                                        EMPTY
FOR ACK



            BUFFER


                           DATA IS FILLED AND
                           TRANSMITTED
AFTER ACK
BECOMES      EMPTY
EMPTY
CONNECTION ESTABLISHMENT
    AND TERMINATION
CLIENT                               SERVER    PASSIVE
ACTIVE
OPEN                                                        LISTEN
                                 SYN
  SYN SENT                                             SYN RCD
                                SYN+ACK
  SEND ACK                        ACK                  ACK RCD
                         CONNECTION ESTABLISHED
  ACTIVE
  CLOSE           DATA

   FINISH                        FIN
                                 ACK                   SEND ACK
  FIN WAIT1
                                 FIN                   CLOSE -WAIT
  FIN WAIT2
                                                        PASSIVE CLOSE
                                 ACK                   LAST ACK


                          CONNECTION CLOSED
THREE-WAY HANDSHAKE
CLIENT                               SERVER


 ACTIVE
                          DATA TRASFER
 CLOSE
                              FIN

FIN WAIT1            SENDS ALL DATA IN Q & EOF        CLOSE -WAIT
                            FIN+ACK                    PASSIVE CLOSE


TIME WAIT                                             LAST ACK
                              ACK
CLOSED                                                    CLOSED

                     CONNECTION CLOSED
SIMULTANEOUS OPEN
CLIENT                                          SERVER


 ACTIVE
  OPEN                                                           ACTIVE OPEN
                     SYN                              SYN
 SYN SENT                                                            SYN SENT


SYN RCVD                   SYN+ACK            SYN+ACK                SYN RCVD




                             CONNECTION ESTABLISHED
SIMULTANEOUS CLOSE
CLIENT                                       SERVER


 ACTIVE
                              DATA TRASFER                    ACTIVE CLOSE
 CLOSE
                      FIN                    FIN
FIN WAIT1                                                     FIN WAIT1
                     ACK
CLOSING                                            ACK
                                                              CLOSING


TIME WAIT                                                     TIME WAIT
TIME OUT                                                      TIME OUT

                            CONNECTION CLOSED
DENYING A CONNECTION
CLIENT                SERVER


 ACTIVE
                                      PASSIVE OPEN
  OPEN
                                      LISTEN
                      SYN
SYN SENT                              SYN RCVD
                    RST +ACK

 CLOSED

                    CONNECTION
                      DENIED
ABORTING A CONNECTION
CLIENT                            SERVER



                  CONNECTION ESTABLISHED

ABORT
                        RST +ACK                ERROR


CLOSED                                          CLOSED

                       CONNECTION
                        ABORTED
THANK YOU

Contenu connexe

Dernier

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Dernier (20)

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 

En vedette

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

Transmission Control Protocol

  • 1. TCP PROTOCOL M.SANGEETHA Pondicherry University
  • 2. TCP HEADER SOURCE ADDRESS DESTINATION ADDRESS SEQUENCE NUMBER ACKNOWLEDGEMENT NUMBER U A P R S F TCP HLEN R C S S Y I WINDOW SIZE G K H T N N CHECKSUM URGENT POINTER OPTIONS
  • 4. CLIENT SERVER SENDING ACK WAITING EMPTY FOR ACK BUFFER DATA IS FILLED AND TRANSMITTED AFTER ACK BECOMES EMPTY EMPTY
  • 5. CONNECTION ESTABLISHMENT AND TERMINATION
  • 6. CLIENT SERVER PASSIVE ACTIVE OPEN LISTEN SYN SYN SENT SYN RCD SYN+ACK SEND ACK ACK ACK RCD CONNECTION ESTABLISHED ACTIVE CLOSE DATA FINISH FIN ACK SEND ACK FIN WAIT1 FIN CLOSE -WAIT FIN WAIT2 PASSIVE CLOSE ACK LAST ACK CONNECTION CLOSED
  • 8. CLIENT SERVER ACTIVE DATA TRASFER CLOSE FIN FIN WAIT1 SENDS ALL DATA IN Q & EOF CLOSE -WAIT FIN+ACK PASSIVE CLOSE TIME WAIT LAST ACK ACK CLOSED CLOSED CONNECTION CLOSED
  • 10. CLIENT SERVER ACTIVE OPEN ACTIVE OPEN SYN SYN SYN SENT SYN SENT SYN RCVD SYN+ACK SYN+ACK SYN RCVD CONNECTION ESTABLISHED
  • 12. CLIENT SERVER ACTIVE DATA TRASFER ACTIVE CLOSE CLOSE FIN FIN FIN WAIT1 FIN WAIT1 ACK CLOSING ACK CLOSING TIME WAIT TIME WAIT TIME OUT TIME OUT CONNECTION CLOSED
  • 14. CLIENT SERVER ACTIVE PASSIVE OPEN OPEN LISTEN SYN SYN SENT SYN RCVD RST +ACK CLOSED CONNECTION DENIED
  • 16. CLIENT SERVER CONNECTION ESTABLISHED ABORT RST +ACK ERROR CLOSED CLOSED CONNECTION ABORTED