SlideShare ist ein Scribd-Unternehmen logo
1 von 20
TCP- Transmission Control
Protocol.
Prepared by: Parackattu. Akhil. B
Transmission Control Protocol.
 TCP is called a connection oriented , reliable transport protocol. It creates
a virtual connection between two TCPs to send data.
 The TCP protocols were initially developed as part of the research network
developed by the United States Defense Advanced Research Projects
Agency(DARPA or ARPA).
 Initially, this fledgling network, called the Arpanet, was designed to use a
number of protocols that had been adapted from existing technologies.
 It is a process to process protocol. It uses port numbers. In addition, TCP
uses flow and error control mechanism at the transport level.
 It adds connection-oriented and reliability features to the services of IP.
TCP Services.
 Services offered by TCP are.
I. Stream Delivery Services
II. Connection oriented service.
III. Reliable service.
Stream Delivery Service.
 TCP is a stream oriented protocol. It allows the sending process to deliver the
data as a stream of bytes.
 And allows the receiving process to obtain data as a stream of bytes. The
sending process produces the stream of bytes and the receiving process
consumes them.
Connection Oriented Service.
 TCP is a connection oriented protocol.
 When a process at site “A “ wants to send and receive data from another
process at site “B”, the following thing occurs:
1. The two TCPs establish a connection between them.
2. Data are exchanged in both direction.
3. The connection is terminated.
Reliable Service.
 TCP is a reliable service transport protocol.
 It uses an acknowledgement mechanism to check the safe and sound
arrival of data.
TCP Features.
 TCP has a several Features which are mentioned below.
• Numbering system.
• Byte number.
• Sequence number.
• Acknowledgment number.
• Flow control.
• Error control.
• Congestion control.
Numbering System.
 TCP keeps a track of the segments being transmitted or received, there is
no field for segment number value in the segment header.
 Instead there are two fields called sequence number and acknowledgment
number.
 These two fields refer to the byte number and not the segment number.
Byte Number.
 TCP numbers all data bytes that are transmitted in a connection. Numbering
in each direction.
 When TCP receives bytes of data from a process, its stores them in sending
buffer and numbers them.
 The number does not necessarily start from “0”. It can be any random
number.
 In short we can say the bytes of data being transferred in each connection
are numbered by TCP. The numbering is used for flow and control.
Sequence Number.
 After the bytes have been numbered , TCP assigns a sequence number to
each segment that is being sent.
 The sequence number for each segment is the number of the first byte
carried in that segment.
 The value in the sequence number field of a segment defines the number of
the first data byte contained in that segment.
Acknowledgment Number.
 Acknowledgment number defines the number of next byte that party
expect to receive.
 In addition, the acknowledgment number is cumulative.
 Which means that the party takes the number of last byte that it has
received safe and sounds add 1 to it, and announces the sum as an
acknowledgement number.
Flow control.
 TCP provides the flow control. The receiver of the data controls the amount
of data that are to be sent by the sender.
 This is done to prevent the receiver from being overwhelmed with data.
 The numbering system allows TCP to use a byte oriented flow control.
Error Control.
 To provide reliable service, TCP implements an error control mechanism.
 Although error control consider a segment as the unit of data for error
detection, error control is byte oriented,.
 Error detection and correction in TCP is achieved through the use of three
simple methods.
 Checksum.
 Acknowledgment.
 Time out.
Congestion Control.
 TCP takes into account congestion in the network.
 The amount of data send by the sender is not only controlled by the
receiver, but is also determined by the level of congestion in the network.
TCP connection.
 A connection oriented protocol establishes connection between virtual
path between source and destination. All segment belonging to the
message are sent over this virtual path.
 TCP connection are virtual , not physical. It operates at higher level.
 It use the services of IP to deliver individual segment to the receiver, but it
controls the connection itself.
 If a segment is lost or corrupted, it retransmits. Unlike TCP, IP is unaware of
this transmission.
 If a segment arrives out of order, TCP holds it until the missing segments
arrive; IP is unaware of this recording.
 In TCP, connection-oriented transmission requires three phases: connection
establishment, data transfer, and connection termination.
Connection Establishment.
 TCP transmits data in full duplex mode. When two TCPs in two machines are
connected, they are able to send segments to each other simultaneously.
 This implies that each party must initialize communication and get approval
from the other party before any data are transferred.
 This connection establishment in TCP is called three way hand shaking.
Data transfer.
 After connection establishment the data transfer in TCP takes place. The
data transfer takes place in bidirectional.
 Where the client and server can both send data and acknowledgments
.
 The acknowledgments are piggybacked with data
 It uses buffer to store the stream of data coming from the sending
application.
Connection termination.
 Any of the two parties involved in exchanging data can close the
connection, although it is usually initiated by the client.
 Most of the implementation today allow two options for connection
termination they are:
 Three –way handshaking
 Four way handshaking with a half -close option.
Strengths of TCP.
 Dial-up lines.
 LANs.
 High Speed fiber optic networks.
 Low speed long haul networks.
THANK YOU!!

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Transport layer
Transport layer Transport layer
Transport layer
 
Osi model
Osi modelOsi model
Osi model
 
TCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer DescriptionTCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer Description
 
Internet control message protocol
Internet control message protocolInternet control message protocol
Internet control message protocol
 
What Is User Datagram Protocol?
What Is User Datagram Protocol?What Is User Datagram Protocol?
What Is User Datagram Protocol?
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
 
Tcp
TcpTcp
Tcp
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocal
 
Telnet
TelnetTelnet
Telnet
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
POP3 Post Office Protocol
POP3 Post Office ProtocolPOP3 Post Office Protocol
POP3 Post Office Protocol
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
Transport protocols
Transport protocolsTransport protocols
Transport protocols
 
TCP IP Model | Computer Science
TCP IP Model | Computer ScienceTCP IP Model | Computer Science
TCP IP Model | Computer Science
 
Arp and rarp
Arp and rarpArp and rarp
Arp and rarp
 
IP addressing seminar ppt
IP addressing seminar pptIP addressing seminar ppt
IP addressing seminar ppt
 
Application Layer
Application Layer Application Layer
Application Layer
 

Andere mochten auch

TCP - Transmission Control Protocol
TCP - Transmission Control ProtocolTCP - Transmission Control Protocol
TCP - Transmission Control ProtocolPeter R. Egli
 
FTP - File Transfer Protocol
FTP - File Transfer ProtocolFTP - File Transfer Protocol
FTP - File Transfer ProtocolPeter R. Egli
 
Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12koolkampus
 
Object Oriented Process basics
Object Oriented Process basicsObject Oriented Process basics
Object Oriented Process basicsOleg Yaroshevych
 
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer Protocolguest029bcd
 

Andere mochten auch (11)

TCP - Transmission Control Protocol
TCP - Transmission Control ProtocolTCP - Transmission Control Protocol
TCP - Transmission Control Protocol
 
world wide web
world wide webworld wide web
world wide web
 
FTP - File Transfer Protocol
FTP - File Transfer ProtocolFTP - File Transfer Protocol
FTP - File Transfer Protocol
 
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer Protocol
 
Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12
 
Object Oriented Process basics
Object Oriented Process basicsObject Oriented Process basics
Object Oriented Process basics
 
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer Protocol
 
TCP Model
TCP ModelTCP Model
TCP Model
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
Tcp and udp
Tcp and udpTcp and udp
Tcp and udp
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 

Ähnlich wie TCP- Transmission Control Protocol

Transmission control protocol
Transmission control protocolTransmission control protocol
Transmission control protocolSundra Anand
 
Transport_Layer_Protocols.pptx
Transport_Layer_Protocols.pptxTransport_Layer_Protocols.pptx
Transport_Layer_Protocols.pptxAnkitKumar891632
 
tcp-ippresentation-150614172243-lva1-app6892.pptx
tcp-ippresentation-150614172243-lva1-app6892.pptxtcp-ippresentation-150614172243-lva1-app6892.pptx
tcp-ippresentation-150614172243-lva1-app6892.pptxAlphaKoiSylvester
 
TCP - IP Presentation
TCP - IP PresentationTCP - IP Presentation
TCP - IP PresentationHarish Chand
 
TCP_NISCHAYBAHL.pptx
TCP_NISCHAYBAHL.pptxTCP_NISCHAYBAHL.pptx
TCP_NISCHAYBAHL.pptxNischayBahl1
 
Transport Layer [Autosaved]
Transport Layer [Autosaved]Transport Layer [Autosaved]
Transport Layer [Autosaved]Ram Dutt Shukla
 
Web and internet technology notes for BCA students
Web and internet technology notes for BCA studentsWeb and internet technology notes for BCA students
Web and internet technology notes for BCA studentsnawejakhatar10063
 
An overview of TCP (Transmission Control Protocol)
An overview of TCP (Transmission Control Protocol)An overview of TCP (Transmission Control Protocol)
An overview of TCP (Transmission Control Protocol)Ammad Marwat
 
Unit-4 (1).pptx
Unit-4 (1).pptxUnit-4 (1).pptx
Unit-4 (1).pptxpoonamsngr
 
Studying_the_TCP_Flow_and_Congestion_Con.pdf
Studying_the_TCP_Flow_and_Congestion_Con.pdfStudying_the_TCP_Flow_and_Congestion_Con.pdf
Studying_the_TCP_Flow_and_Congestion_Con.pdfIUA
 

Ähnlich wie TCP- Transmission Control Protocol (20)

Transmission control protocol
Transmission control protocolTransmission control protocol
Transmission control protocol
 
Tcp presentation
Tcp presentationTcp presentation
Tcp presentation
 
Transport_Layer_Protocols.pptx
Transport_Layer_Protocols.pptxTransport_Layer_Protocols.pptx
Transport_Layer_Protocols.pptx
 
計概
計概計概
計概
 
TCP.docx
TCP.docxTCP.docx
TCP.docx
 
tcp-ippresentation-150614172243-lva1-app6892.pptx
tcp-ippresentation-150614172243-lva1-app6892.pptxtcp-ippresentation-150614172243-lva1-app6892.pptx
tcp-ippresentation-150614172243-lva1-app6892.pptx
 
TCP - IP Presentation
TCP - IP PresentationTCP - IP Presentation
TCP - IP Presentation
 
Tcp ip presentation
Tcp ip presentationTcp ip presentation
Tcp ip presentation
 
TCP_NISCHAYBAHL.pptx
TCP_NISCHAYBAHL.pptxTCP_NISCHAYBAHL.pptx
TCP_NISCHAYBAHL.pptx
 
Tcp
TcpTcp
Tcp
 
Unit 5.Transport Layer.pptx
Unit 5.Transport Layer.pptxUnit 5.Transport Layer.pptx
Unit 5.Transport Layer.pptx
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
 
Transport Layer [Autosaved]
Transport Layer [Autosaved]Transport Layer [Autosaved]
Transport Layer [Autosaved]
 
Web and internet technology notes for BCA students
Web and internet technology notes for BCA studentsWeb and internet technology notes for BCA students
Web and internet technology notes for BCA students
 
Transport layer
Transport layerTransport layer
Transport layer
 
An overview of TCP (Transmission Control Protocol)
An overview of TCP (Transmission Control Protocol)An overview of TCP (Transmission Control Protocol)
An overview of TCP (Transmission Control Protocol)
 
Transport layer.pptx
Transport layer.pptxTransport layer.pptx
Transport layer.pptx
 
TCP/IP & UDP
TCP/IP & UDPTCP/IP & UDP
TCP/IP & UDP
 
Unit-4 (1).pptx
Unit-4 (1).pptxUnit-4 (1).pptx
Unit-4 (1).pptx
 
Studying_the_TCP_Flow_and_Congestion_Con.pdf
Studying_the_TCP_Flow_and_Congestion_Con.pdfStudying_the_TCP_Flow_and_Congestion_Con.pdf
Studying_the_TCP_Flow_and_Congestion_Con.pdf
 

Kürzlich hochgeladen

UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 

Kürzlich hochgeladen (20)

UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 

TCP- Transmission Control Protocol

  • 2. Transmission Control Protocol.  TCP is called a connection oriented , reliable transport protocol. It creates a virtual connection between two TCPs to send data.  The TCP protocols were initially developed as part of the research network developed by the United States Defense Advanced Research Projects Agency(DARPA or ARPA).  Initially, this fledgling network, called the Arpanet, was designed to use a number of protocols that had been adapted from existing technologies.  It is a process to process protocol. It uses port numbers. In addition, TCP uses flow and error control mechanism at the transport level.  It adds connection-oriented and reliability features to the services of IP.
  • 3. TCP Services.  Services offered by TCP are. I. Stream Delivery Services II. Connection oriented service. III. Reliable service.
  • 4. Stream Delivery Service.  TCP is a stream oriented protocol. It allows the sending process to deliver the data as a stream of bytes.  And allows the receiving process to obtain data as a stream of bytes. The sending process produces the stream of bytes and the receiving process consumes them.
  • 5. Connection Oriented Service.  TCP is a connection oriented protocol.  When a process at site “A “ wants to send and receive data from another process at site “B”, the following thing occurs: 1. The two TCPs establish a connection between them. 2. Data are exchanged in both direction. 3. The connection is terminated.
  • 6. Reliable Service.  TCP is a reliable service transport protocol.  It uses an acknowledgement mechanism to check the safe and sound arrival of data.
  • 7. TCP Features.  TCP has a several Features which are mentioned below. • Numbering system. • Byte number. • Sequence number. • Acknowledgment number. • Flow control. • Error control. • Congestion control.
  • 8. Numbering System.  TCP keeps a track of the segments being transmitted or received, there is no field for segment number value in the segment header.  Instead there are two fields called sequence number and acknowledgment number.  These two fields refer to the byte number and not the segment number.
  • 9. Byte Number.  TCP numbers all data bytes that are transmitted in a connection. Numbering in each direction.  When TCP receives bytes of data from a process, its stores them in sending buffer and numbers them.  The number does not necessarily start from “0”. It can be any random number.  In short we can say the bytes of data being transferred in each connection are numbered by TCP. The numbering is used for flow and control.
  • 10. Sequence Number.  After the bytes have been numbered , TCP assigns a sequence number to each segment that is being sent.  The sequence number for each segment is the number of the first byte carried in that segment.  The value in the sequence number field of a segment defines the number of the first data byte contained in that segment.
  • 11. Acknowledgment Number.  Acknowledgment number defines the number of next byte that party expect to receive.  In addition, the acknowledgment number is cumulative.  Which means that the party takes the number of last byte that it has received safe and sounds add 1 to it, and announces the sum as an acknowledgement number.
  • 12. Flow control.  TCP provides the flow control. The receiver of the data controls the amount of data that are to be sent by the sender.  This is done to prevent the receiver from being overwhelmed with data.  The numbering system allows TCP to use a byte oriented flow control.
  • 13. Error Control.  To provide reliable service, TCP implements an error control mechanism.  Although error control consider a segment as the unit of data for error detection, error control is byte oriented,.  Error detection and correction in TCP is achieved through the use of three simple methods.  Checksum.  Acknowledgment.  Time out.
  • 14. Congestion Control.  TCP takes into account congestion in the network.  The amount of data send by the sender is not only controlled by the receiver, but is also determined by the level of congestion in the network.
  • 15. TCP connection.  A connection oriented protocol establishes connection between virtual path between source and destination. All segment belonging to the message are sent over this virtual path.  TCP connection are virtual , not physical. It operates at higher level.  It use the services of IP to deliver individual segment to the receiver, but it controls the connection itself.  If a segment is lost or corrupted, it retransmits. Unlike TCP, IP is unaware of this transmission.  If a segment arrives out of order, TCP holds it until the missing segments arrive; IP is unaware of this recording.  In TCP, connection-oriented transmission requires three phases: connection establishment, data transfer, and connection termination.
  • 16. Connection Establishment.  TCP transmits data in full duplex mode. When two TCPs in two machines are connected, they are able to send segments to each other simultaneously.  This implies that each party must initialize communication and get approval from the other party before any data are transferred.  This connection establishment in TCP is called three way hand shaking.
  • 17. Data transfer.  After connection establishment the data transfer in TCP takes place. The data transfer takes place in bidirectional.  Where the client and server can both send data and acknowledgments .  The acknowledgments are piggybacked with data  It uses buffer to store the stream of data coming from the sending application.
  • 18. Connection termination.  Any of the two parties involved in exchanging data can close the connection, although it is usually initiated by the client.  Most of the implementation today allow two options for connection termination they are:  Three –way handshaking  Four way handshaking with a half -close option.
  • 19. Strengths of TCP.  Dial-up lines.  LANs.  High Speed fiber optic networks.  Low speed long haul networks.