SlideShare a Scribd company logo
3
Most read
7
Most read
13
Most read
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!!

More Related Content

PPTX
Presentation on TCP/IP Model
PPTX
PPTX
Tcp presentation
PPTX
TCP/IP and UDP protocols
PPTX
TCP IP Model | Computer Science
PDF
TCP - IP Presentation
PPTX
Transport layer protocols : Simple Protocol , Stop and Wait Protocol , Go-Bac...
PPTX
Transport layer protocols : TCP and UDP
Presentation on TCP/IP Model
Tcp presentation
TCP/IP and UDP protocols
TCP IP Model | Computer Science
TCP - IP Presentation
Transport layer protocols : Simple Protocol , Stop and Wait Protocol , Go-Bac...
Transport layer protocols : TCP and UDP

What's hot (20)

PPTX
TCP/IP 3-way Handshake
PPT
Network Layer,Computer Networks
PPTX
Computer Network - Network Layer
PPTX
Address resolution protocol (ARP)
PPTX
Link state routing protocol
PPTX
TCP and UDP
PPT
PPT
Network layer tanenbaum
PPTX
Transport layer
PPTX
Transmission Control Protocol (TCP)
PPT
Circuit and packet_switching
PPTX
Routing ppt
PPTX
Framing in data link layer
PPT
Clock synchronization in distributed system
PPT
Distance vector routing
PPTX
03 Introduction to Physical layer
PPTX
Network layer - design Issues
PDF
Transport layer services
PPT
PPT
Chapter 4 data link layer
TCP/IP 3-way Handshake
Network Layer,Computer Networks
Computer Network - Network Layer
Address resolution protocol (ARP)
Link state routing protocol
TCP and UDP
Network layer tanenbaum
Transport layer
Transmission Control Protocol (TCP)
Circuit and packet_switching
Routing ppt
Framing in data link layer
Clock synchronization in distributed system
Distance vector routing
03 Introduction to Physical layer
Network layer - design Issues
Transport layer services
Chapter 4 data link layer
Ad

Viewers also liked (12)

PDF
TCP - Transmission Control Protocol
PPT
world wide web
PDF
FTP - File Transfer Protocol
PPSX
File Transfer Protocol
PPT
Object Oriented Design in Software Engineering SE12
PDF
Object Oriented Process basics
PPTX
File Transfer Protocol
PPT
TCP Model
PPT
Object Oriented Design
PPTX
Tcp and udp
PPT
TCP/IP Basics
PPT
TCP/IP Network ppt
TCP - Transmission Control Protocol
world wide web
FTP - File Transfer Protocol
File Transfer Protocol
Object Oriented Design in Software Engineering SE12
Object Oriented Process basics
File Transfer Protocol
TCP Model
Object Oriented Design
Tcp and udp
TCP/IP Basics
TCP/IP Network ppt
Ad

Similar to TCP- Transmission Control Protocol (20)

PPTX
Transmission control protocol
DOCX
TCP.docx
PPTX
Transmission Control Protocol_ Computer Networks
PPT
Transmission control protocol ...............................
PPT
PPT
Transmission control protocol _
PPT
Features of tcp (part 2) .68
PPT
計概
PPTX
Online TCP-IP Networking Assignment Help
PPTX
Computer networks transport layer
PPTX
Introduction-to-Transmission Control.pptx
PPTX
Transport_Layer_Protocols.pptx
PPTX
Unit 6 NAHI aa rha hai na ki koi baat nhi hai
PPTX
Introduction-to-TCP-how-it-work-and.pptx
PPTX
COMPUTER NETWORKS - TCP GATE COACHING QUESTIONS
PPT
the transport layer
PDF
Web and internet technology notes for BCA students
PPTX
Transmission control protocol (TCP) Group 6 (1).pptx
PPT
Computer Network - Transport layer protocol
PPTX
Unit V computer network notes for study.
Transmission control protocol
TCP.docx
Transmission Control Protocol_ Computer Networks
Transmission control protocol ...............................
Transmission control protocol _
Features of tcp (part 2) .68
計概
Online TCP-IP Networking Assignment Help
Computer networks transport layer
Introduction-to-Transmission Control.pptx
Transport_Layer_Protocols.pptx
Unit 6 NAHI aa rha hai na ki koi baat nhi hai
Introduction-to-TCP-how-it-work-and.pptx
COMPUTER NETWORKS - TCP GATE COACHING QUESTIONS
the transport layer
Web and internet technology notes for BCA students
Transmission control protocol (TCP) Group 6 (1).pptx
Computer Network - Transport layer protocol
Unit V computer network notes for study.

Recently uploaded (20)

PDF
Well-logging-methods_new................
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Geodesy 1.pptx...............................................
DOCX
573137875-Attendance-Management-System-original
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
web development for engineering and engineering
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Digital Logic Computer Design lecture notes
Well-logging-methods_new................
Lesson 3_Tessellation.pptx finite Mathematics
Embodied AI: Ushering in the Next Era of Intelligent Systems
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
additive manufacturing of ss316l using mig welding
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
CH1 Production IntroductoryConcepts.pptx
Geodesy 1.pptx...............................................
573137875-Attendance-Management-System-original
Arduino robotics embedded978-1-4302-3184-4.pdf
Strings in CPP - Strings in C++ are sequences of characters used to store and...
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
web development for engineering and engineering
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Digital Logic Computer Design lecture notes

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.