SlideShare a Scribd company logo
8
Most read
13
Most read
17
Most read
Sub-Topic   : Features of TCP (Part-2)




                                         1
Recap

In the previous topic , you have learnt about



     • Layers of TCP/IP protocol



     • Role of transport layer in TCP/IP protocol




                                                    2
Objectives

On completion of this topic, you would be able to
know about


• List out the features supported by TCP



• Understand features of TCP



                                                3
TCP - Features

• Numbering System
• Byte Number
• Sequence Number
• Acknowledgement Number
• Reliable transfer of data
• Flow Control
• Error Control
• Congestion Control

                               4
TCP – Features             ( Contd…)

•   Inter-operability
•   Flexibility
•   Multi-Vendor Support
•   Window Based Protocol
• Connection oriented service
• Full duplex data transfer




                                            5
TCP – Numbering System

•   TCP keeps track of the segments being transmitted or
    received by assigning numbers


• Byte Number assigned to data bytes to be transferred



• Sequence Number to Segments



• Acknowledgement Number to Received segments

                                                         6
Byte Number
•   Used for Flow Control and Error Control

•    All data bytes transmitted in each connection
    are numbered by the TCP

•   Numbering starts with a randomly generated
    number

•   Numbering is independent in each direction

•   TCP stores the received data bytes in a
    sending buffer and numbers them
                                                     7
Sequence Number

• TCP assigns a Sequence number to each
      segment transmitted

•     Sequence Number is the first byte number
      carried in that segment

    Sequence Number is assigned when
        • Segment carries both data and control information
          ( Piggy backing )

         • Segment without data, no sequence number

         • Example : if    x  Sequence Number
                          x+1  First Byte Number
                                                              8
Acknowledgement Number

• Indicates number of the next byte that the
   receiver expects to receive



•   Acknowledgement number is cumulative



•   Confirmation to received data bytes



                                               9
TCP – Reliable Transfer of Data


• Ordered data transfer - the destination host
  rearranges according to sequence number
• Retransmission of lost packets - any cumulative
  stream not acknowledged will be retransmitted
• Discarding duplicate packets
• Error-free data transfer




                                                    10
TCP – Reliable Transfer of Data
                      Client                  Host

              Send Packet 1
              Start Timer       Data Packet   Packet should arrive
Timer                                         ACK should be sent
          ACK would normally
          Arrive at this time


              Time Expires

           Retransmit Packet1
Timer      Start Timer                        Receive Packet 1
                                              Send ACK 1
             Receive ACK 1
             Cancel Timer




  Fig.4
                                                                     11
TCP – Flow Control


• limits the rate a sender transfers data to guarantee
  reliable delivery
• The receiver continually hints the sender on how
  much data can be received (controlled by the sliding
  window)
• When the receiving host's buffer fills, the next
  acknowledgment contains a 0 in the window size, to
  stop transfer and allow the data in the buffer to be
  processed


                                                         12
TCP – Error Control
•   TCP implements an error control mechanism for
    reliable data transfer


•   Error Control is byte – oriented


•   Segments are checked for error detection


•   Error Control includes detecting
       • Corrupted Segments      and Lost Segments
       • Out-of-Order Segments
       • Duplicated Segments
                                                     13
TCP – Error Control
• Error detection & Correction is achieved by



      – Check Sum

      – Acknowledgement Numbers

      – Time-outs




                                                14
TCP – Congestion Control


•   TCP takes in to account the level of Congestion
    in the network




•   Congestion level determines the amount of
    data sent by a sender




                                                      15
TCP - Interoperability
•   TCP has become the Industry standard

•   It supports interoperability across networks

• TCP – A frame work used to develop
• complete range of computer communication
  standards




                                                   16
TCP – Flexibility

•   TCP allows a variety of implementations


Multi-Vendor Support

•   TCP is supported by almost all network
    software


•   Widely used transport layer protocol


                                              17
Summary
In this class, you have learnt about

• TCP is a widely used transport layer protocol

•   TCP provides process to process, full duplex
    and connection oriented services

•   The main features supported by TCP are
       • Segment Numbering System
       • Flow Control
       • Error Control
       • Congestion Control
                                                   18
Summary
     In this topic, you have learnt about

• Basic unit of data transfer using TCP is Segment

• TCP uses flow control implemented as a sliding window
  mechanism

• Data bytes being transferred in each connection are
  numbered by TCP

•   Numbering starts with a randomly generated number

                                                          19
Summary

    TCP uses error control to provide reliable service. Error
     Control is handled by
       • checksum, acknowledgement and time-outs

•     Duplicated segments are discarded and Corrupted & lost
     segments are retransmitted

•     Data arrived out of order are temporarily stored by
     receiving TCP

•     TCP guarantees that no out of order segment is delivered
     to the process

                                                                20
Quiz

1. TCP is a ____________ layer protocol



     A. Application

     B. Transport

     C. Network

     D. Physical


                                          21
Quiz

2. Which of the following features are supported by
  TCP ?


     A. Congestion Control

     B. Error Control

     C. Flow Control

     D. All The Above


                                                      22
Frequently Asked Questions

1.   Name the protocols used in the Transport Layer of the
     TCP/IP protocol suite

2.   What is the purpose of TCP ?

3.   List the features of TCP

4.   Explain about the various features supported by TCP




                                                             23
3.24   DIFFERENT LAYERS OF TCP/IP




          9EC606A.68                24

More Related Content

PPTX
RAID LEVELS
PPTX
Flow Control.pptx
PPT
PDF
Semaphores
PPT
Distance vector routing
PPTX
Distributed Operating Systems
PPTX
Concurrency Control in Distributed Systems.pptx
PPTX
Unit 2 data link control
RAID LEVELS
Flow Control.pptx
Semaphores
Distance vector routing
Distributed Operating Systems
Concurrency Control in Distributed Systems.pptx
Unit 2 data link control

What's hot (20)

PPTX
Iso layers
PPTX
Disk Scheduling Algorithm in Operating System
PPTX
Kernel I/O subsystem
PPTX
directory structure and file system mounting
PPTX
PPSX
Congestion control in TCP
PPT
Os Threads
PPTX
Link state routing protocol
PPT
Web and http computer network
PPT
Computer Networks basics and OSI
PPTX
RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...
PPTX
Congestion control
PPTX
Deadlock Avoidance in Operating System
PPTX
2 phase locking protocol DBMS
PDF
Multiple Access in Computer Network
PPT
Domain name system
PPTX
Computer system bus
PPTX
Multiple access protocol
PPT
Chapter 4 data link layer
PPTX
Semophores and it's types
Iso layers
Disk Scheduling Algorithm in Operating System
Kernel I/O subsystem
directory structure and file system mounting
Congestion control in TCP
Os Threads
Link state routing protocol
Web and http computer network
Computer Networks basics and OSI
RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...
Congestion control
Deadlock Avoidance in Operating System
2 phase locking protocol DBMS
Multiple Access in Computer Network
Domain name system
Computer system bus
Multiple access protocol
Chapter 4 data link layer
Semophores and it's types
Ad

Viewers also liked (20)

PPTX
Transmission Control Protocol
PPTX
Tcp header/IP Header/Authentication header
PDF
TCP - Transmission Control Protocol
PPT
TCP/IP Basics
PPT
TCP/IP Network ppt
PPT
Net essentials6e ch4
PPT
TCP / IP Services and Standards
PPT
E mail transfer .74
RTF
CCNA Network Services Questions
PPT
Tcpip services and applications
PDF
Introduction to SCTP and it's benefits over TCP and UDP
PPTX
World wide web architecture presentation
PPT
SCTP introduction
PDF
Overview of SCTP (Stream Control Transmission Protocol)
PDF
InternetWorking With TCP\IP
PDF
Computer application in business
PDF
Overview of SCTP (Stream Control Transmission Protocol)
PPT
Mime
PPT
Cpu and its functions
PPTX
Simple Mail Transfer Protocol
Transmission Control Protocol
Tcp header/IP Header/Authentication header
TCP - Transmission Control Protocol
TCP/IP Basics
TCP/IP Network ppt
Net essentials6e ch4
TCP / IP Services and Standards
E mail transfer .74
CCNA Network Services Questions
Tcpip services and applications
Introduction to SCTP and it's benefits over TCP and UDP
World wide web architecture presentation
SCTP introduction
Overview of SCTP (Stream Control Transmission Protocol)
InternetWorking With TCP\IP
Computer application in business
Overview of SCTP (Stream Control Transmission Protocol)
Mime
Cpu and its functions
Simple Mail Transfer Protocol
Ad

Similar to Features of tcp (part 2) .68 (20)

PPT
PPT
Transmission control protocol _
PPT
Transport protocols
PPT
Transmission control protocol ...............................
PPTX
Transport_Layer_Protocols.pptx
PPTX
Transmission control protocol
PPTX
TCP- Transmission Control Protocol
PPT
Unit III IPV6 UDP
PPT
Computer network (Lecture 2)
PPT
Mk ppt chapter 5
PPT
計概
DOCX
TCP.docx
PPTX
Online TCP-IP Networking Assignment Help
PPTX
Unit V computer network notes for study.
PPT
Computer Network - Transport layer protocol
PPT
TCP Section5
PDF
Dcn (transmission control protocol) ppt
PDF
Osi model
PPTX
Transmission control protocol _
Transport protocols
Transmission control protocol ...............................
Transport_Layer_Protocols.pptx
Transmission control protocol
TCP- Transmission Control Protocol
Unit III IPV6 UDP
Computer network (Lecture 2)
Mk ppt chapter 5
計概
TCP.docx
Online TCP-IP Networking Assignment Help
Unit V computer network notes for study.
Computer Network - Transport layer protocol
TCP Section5
Dcn (transmission control protocol) ppt
Osi model

More from myrajendra (20)

PPT
Fundamentals
PPT
Data type
PPTX
Hibernate example1
PPTX
Jdbc workflow
PPTX
2 jdbc drivers
PPTX
3 jdbc api
PPTX
4 jdbc step1
PPTX
Dao example
PPTX
Sessionex1
PPTX
Internal
PPTX
3. elements
PPTX
2. attributes
PPTX
1 introduction to html
PPTX
Headings
PPTX
Forms
PPT
PPTX
Views
PPTX
Views
PPTX
Views
PPT
Starting jdbc
Fundamentals
Data type
Hibernate example1
Jdbc workflow
2 jdbc drivers
3 jdbc api
4 jdbc step1
Dao example
Sessionex1
Internal
3. elements
2. attributes
1 introduction to html
Headings
Forms
Views
Views
Views
Starting jdbc

Features of tcp (part 2) .68

  • 1. Sub-Topic : Features of TCP (Part-2) 1
  • 2. Recap In the previous topic , you have learnt about • Layers of TCP/IP protocol • Role of transport layer in TCP/IP protocol 2
  • 3. Objectives On completion of this topic, you would be able to know about • List out the features supported by TCP • Understand features of TCP 3
  • 4. TCP - Features • Numbering System • Byte Number • Sequence Number • Acknowledgement Number • Reliable transfer of data • Flow Control • Error Control • Congestion Control 4
  • 5. TCP – Features ( Contd…) • Inter-operability • Flexibility • Multi-Vendor Support • Window Based Protocol • Connection oriented service • Full duplex data transfer 5
  • 6. TCP – Numbering System • TCP keeps track of the segments being transmitted or received by assigning numbers • Byte Number assigned to data bytes to be transferred • Sequence Number to Segments • Acknowledgement Number to Received segments 6
  • 7. Byte Number • Used for Flow Control and Error Control • All data bytes transmitted in each connection are numbered by the TCP • Numbering starts with a randomly generated number • Numbering is independent in each direction • TCP stores the received data bytes in a sending buffer and numbers them 7
  • 8. Sequence Number • TCP assigns a Sequence number to each segment transmitted • Sequence Number is the first byte number carried in that segment Sequence Number is assigned when • Segment carries both data and control information ( Piggy backing ) • Segment without data, no sequence number • Example : if x  Sequence Number x+1  First Byte Number 8
  • 9. Acknowledgement Number • Indicates number of the next byte that the receiver expects to receive • Acknowledgement number is cumulative • Confirmation to received data bytes 9
  • 10. TCP – Reliable Transfer of Data • Ordered data transfer - the destination host rearranges according to sequence number • Retransmission of lost packets - any cumulative stream not acknowledged will be retransmitted • Discarding duplicate packets • Error-free data transfer 10
  • 11. TCP – Reliable Transfer of Data Client Host Send Packet 1 Start Timer Data Packet Packet should arrive Timer ACK should be sent ACK would normally Arrive at this time Time Expires Retransmit Packet1 Timer Start Timer Receive Packet 1 Send ACK 1 Receive ACK 1 Cancel Timer Fig.4 11
  • 12. TCP – Flow Control • limits the rate a sender transfers data to guarantee reliable delivery • The receiver continually hints the sender on how much data can be received (controlled by the sliding window) • When the receiving host's buffer fills, the next acknowledgment contains a 0 in the window size, to stop transfer and allow the data in the buffer to be processed 12
  • 13. TCP – Error Control • TCP implements an error control mechanism for reliable data transfer • Error Control is byte – oriented • Segments are checked for error detection • Error Control includes detecting • Corrupted Segments and Lost Segments • Out-of-Order Segments • Duplicated Segments 13
  • 14. TCP – Error Control • Error detection & Correction is achieved by – Check Sum – Acknowledgement Numbers – Time-outs 14
  • 15. TCP – Congestion Control • TCP takes in to account the level of Congestion in the network • Congestion level determines the amount of data sent by a sender 15
  • 16. TCP - Interoperability • TCP has become the Industry standard • It supports interoperability across networks • TCP – A frame work used to develop • complete range of computer communication standards 16
  • 17. TCP – Flexibility • TCP allows a variety of implementations Multi-Vendor Support • TCP is supported by almost all network software • Widely used transport layer protocol 17
  • 18. Summary In this class, you have learnt about • TCP is a widely used transport layer protocol • TCP provides process to process, full duplex and connection oriented services • The main features supported by TCP are • Segment Numbering System • Flow Control • Error Control • Congestion Control 18
  • 19. Summary In this topic, you have learnt about • Basic unit of data transfer using TCP is Segment • TCP uses flow control implemented as a sliding window mechanism • Data bytes being transferred in each connection are numbered by TCP • Numbering starts with a randomly generated number 19
  • 20. Summary TCP uses error control to provide reliable service. Error Control is handled by • checksum, acknowledgement and time-outs • Duplicated segments are discarded and Corrupted & lost segments are retransmitted • Data arrived out of order are temporarily stored by receiving TCP • TCP guarantees that no out of order segment is delivered to the process 20
  • 21. Quiz 1. TCP is a ____________ layer protocol A. Application B. Transport C. Network D. Physical 21
  • 22. Quiz 2. Which of the following features are supported by TCP ? A. Congestion Control B. Error Control C. Flow Control D. All The Above 22
  • 23. Frequently Asked Questions 1. Name the protocols used in the Transport Layer of the TCP/IP protocol suite 2. What is the purpose of TCP ? 3. List the features of TCP 4. Explain about the various features supported by TCP 23
  • 24. 3.24 DIFFERENT LAYERS OF TCP/IP 9EC606A.68 24

Editor's Notes