SlideShare a Scribd company logo
1 of 57
TRANSPORT LAYER
TRANSPORT LAYER
Process-to-Process Delivery: UDP, TCP and SCTP
Slide 2Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
The transport layer is responsible for process-to-process delivery — the
delivery of a packet, part of a message, from one process to another.
Two processes communicate in a client/server relationship, as we will
see later.
Figure 23.1 Types of data deliveries
Slide 3Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.2 Port numbers
Slide 4Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.3 IP addresses versus port numbers
Slide 5Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.4 IANA ranges
Slide 6Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.5 Socket address
Slide 7Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.6 Multiplexing and demultiplexing
Slide 8Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.7 Error control
Slide 9Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.8 Position of UDP, TCP and SCTP in TCP/IP suite
Slide 10Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
UDP Connectionless & Unreliable Transport Protocol
Slide 11Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
The User Datagram Protocol (UDP) is called a connectionless, unreliable
transport protocol. It does not add anything to the services of IP except to
provide process-to-process communication instead of host-to-host
communication.
Table 23.1 Well-known ports used with UDP
Slide 12Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.9 User datagram format
Slide 13Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 20.5 IPv4 datagram format
Slide 14Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.10 Pseudoheader for checksum calculation
Slide 15Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.11 Checksum calculation of a simple UDP user datagram
Slide 16Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.12 Queues in UDP
Slide 17Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
TCP (Transmission Control Protocol)
Slide 18Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
TCP is a connection-oriented, reliable protocol; it creates a virtual
connection between two TCPs to send data. In addition, TCP uses flow
control and error control mechanisms at the transport level.
Table 23.2 Well-known ports used with TCP
Slide 19Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.13 Stream delivery
Slide 20Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.14 Sending and receiving buffers
Slide 21Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.15 TCP segments
Slide 22Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
TCP Features Numbering System
Slide 23Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
TCP Features: Numbering System Example 23.3
Slide 24Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Suppose a TCP connection is transferring a file of 5000 bytes. The first byte
is numbered 10,001. What are the sequence numbers for each segment if
data are sent in five segments, each carrying 1000 bytes?
The following shows the sequence number for each segment:
TCP Features Numbering System
Slide 25Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.16 TCP segment format
Slide 26Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.17 Control field
Slide 27Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Table 23.3 Description of flags in the control field
Slide 28Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.18 Connection establishment using three-way handshaking
Slide 29Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
TCP Connection Establishment Three-Way Handshaking
Slide 30Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.19 Data transfer
Slide 31Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.20 Connection termination using three-way handshaking
Slide 32Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.20 Connection termination using three-way handshaking
Slide 33Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.21 Half-close
Slide 34Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.22 Sliding window
Slide 35Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Flow Control Sliding window
Slide 36Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Flow Control Sliding window
Slide 37Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
What is the value of the receiver window (rwnd) for host A if the receiver,
host B, has a buffer size of 5000 bytes and 1000 bytes of received and
unprocessed data?
The value of rwnd = 5000 − 1000 = 4000. Host B can receive only
4000 bytes of data before overflowing its buffer. Host B advertises
this value in its next segment to A.
Flow Control Sliding window
Slide 38Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
What is the size of the window for host A if the value of rwnd is 3000 bytes
and the value of cwnd is 3500 bytes?
The size of the window is the smaller of rwnd and cwnd, which is
3000 bytes.
Flow Control Sliding window
Slide 39Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.23 shows an unrealistic example of a sliding window.
The sender has sent bytes up to 202. We assume that cwnd is 20 (in
reality this value is thousands of bytes).
 The receiver has sent an acknowledgment number of 200 with an rwnd
of 9 bytes (in reality this value is thousands of bytes).
 The size of the sender window is the minimum of rwnd and cwnd, or 9
bytes. Bytes 200 to 202 are sent, but not acknowledged.
 Bytes 203 to 208 can be sent without worrying about acknowledgment.
Bytes 209 and above cannot be sent.
Figure 23.23 Example 23.6
Slide 40Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Flow Control Sliding window
Slide 41Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Error Control Acknowledgement
Slide 42Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Error Control Retransmission
Slide 43Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Error Control Out-of-Order Segments
Slide 44Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.24 Normal operation
Slide 45Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.25 Lost segment
Slide 46Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.25 Lost segment
Slide 47Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.26 Fast retransmission
Slide 48Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
SCTP Stream Control Transmission Protocol
Slide 49Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Stream Control Transmission Protocol (SCTP) is a new reliable, message-
oriented transport layer protocol. SCTP, however, is mostly designed for
Internet applications that have recently been introduced. These new
applications need a more sophisticated service than TCP can provide.
Table 23.4 Some SCTP applications
Slide 50Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.27 Multiple-stream concept
Slide 51Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.28 Multihoming concept
Slide 52Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
SCTP Features
Transmission Sequence Number, Stream Identifier, Stream Sequence Number
Slide 53Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.29
Comparison between a TCP segment and an SCTP packet
Slide 54Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
SCTP Features Packets
Slide 55Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
Figure 23.30 Packet, data chunks, and streams
Slide 56Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT
SCTP Features Acknowledgement Number
Slide 57Presented by Pankaj Debbarma, Asstt. Prof.
Deptt. of Computer Science & Engineering, TIT

More Related Content

What's hot

What's hot (20)

Computer networks network layer,routing
Computer networks network layer,routingComputer networks network layer,routing
Computer networks network layer,routing
 
Presentation on arp protocol
Presentation on arp protocolPresentation on arp protocol
Presentation on arp protocol
 
Lan technologies
Lan technologiesLan technologies
Lan technologies
 
Quality of Service
Quality of ServiceQuality of Service
Quality of Service
 
Arp and rarp
Arp and rarpArp and rarp
Arp and rarp
 
transport layer
transport layertransport layer
transport layer
 
Web and http computer network
Web and http computer networkWeb and http computer network
Web and http computer network
 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
 
Frame Relay
Frame RelayFrame Relay
Frame Relay
 
QOS (Quality of Services) - Computer Networks
 QOS (Quality of Services) - Computer Networks QOS (Quality of Services) - Computer Networks
QOS (Quality of Services) - Computer Networks
 
TCP/IP 3-way Handshake
TCP/IP 3-way Handshake TCP/IP 3-way Handshake
TCP/IP 3-way Handshake
 
Cs8591 u4
Cs8591 u4Cs8591 u4
Cs8591 u4
 
Data link layer
Data link layer Data link layer
Data link layer
 
Arp and rarp
Arp and rarpArp and rarp
Arp and rarp
 
IPv6 header
IPv6 headerIPv6 header
IPv6 header
 
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
 
TCP congestion control
TCP congestion controlTCP congestion control
TCP congestion control
 
Rarp
RarpRarp
Rarp
 
Cs8591 Computer Networks - UNIT V
Cs8591 Computer Networks - UNIT VCs8591 Computer Networks - UNIT V
Cs8591 Computer Networks - UNIT V
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 

Similar to TCP UDP SCTP Transport Layer Protocols

20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks 20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks Kathirvel Ayyaswamy
 
UNIT IV-Transport Layer.pptx
UNIT IV-Transport Layer.pptxUNIT IV-Transport Layer.pptx
UNIT IV-Transport Layer.pptxLAVANYAsrietacin
 
23 Process to_Process_Delivery_UDP_TCP_and_SCTP
23 Process to_Process_Delivery_UDP_TCP_and_SCTP23 Process to_Process_Delivery_UDP_TCP_and_SCTP
23 Process to_Process_Delivery_UDP_TCP_and_SCTPAhmar Hashmi
 
transport-layer-forouzan.pdf
transport-layer-forouzan.pdftransport-layer-forouzan.pdf
transport-layer-forouzan.pdfAsifSalim12
 
transport layer protocols
transport layer protocolstransport layer protocols
transport layer protocolsBE Smârt
 
DCN 5th ed. slides ch24 Transport-Layer Protocols.pdf
DCN 5th ed. slides ch24 Transport-Layer Protocols.pdfDCN 5th ed. slides ch24 Transport-Layer Protocols.pdf
DCN 5th ed. slides ch24 Transport-Layer Protocols.pdfBilal Munir Mughal
 
chapter 3.2 TCP.pptx
chapter 3.2 TCP.pptxchapter 3.2 TCP.pptx
chapter 3.2 TCP.pptxTekle12
 
Wireshark course, Ch 05: Advanced statistics tools
Wireshark course, Ch 05: Advanced statistics toolsWireshark course, Ch 05: Advanced statistics tools
Wireshark course, Ch 05: Advanced statistics toolsYoram Orzach
 
#KPC #CST #Protocols
#KPC #CST #Protocols #KPC #CST #Protocols
#KPC #CST #Protocols KEIKolkata
 
TCP Traffic Control Chapter12
TCP Traffic Control Chapter12TCP Traffic Control Chapter12
TCP Traffic Control Chapter12daniel ayalew
 
Pipelined Compression in Remote GPU Virtualization Systems using rCUDA: Early...
Pipelined Compression in Remote GPU Virtualization Systems using rCUDA: Early...Pipelined Compression in Remote GPU Virtualization Systems using rCUDA: Early...
Pipelined Compression in Remote GPU Virtualization Systems using rCUDA: Early...Carlos Reaño González
 

Similar to TCP UDP SCTP Transport Layer Protocols (20)

20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks 20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks
 
UNIT IV-Transport Layer.pptx
UNIT IV-Transport Layer.pptxUNIT IV-Transport Layer.pptx
UNIT IV-Transport Layer.pptx
 
Ch23
Ch23Ch23
Ch23
 
Chapter 23
Chapter 23Chapter 23
Chapter 23
 
23 Process to_Process_Delivery_UDP_TCP_and_SCTP
23 Process to_Process_Delivery_UDP_TCP_and_SCTP23 Process to_Process_Delivery_UDP_TCP_and_SCTP
23 Process to_Process_Delivery_UDP_TCP_and_SCTP
 
Ch23
Ch23Ch23
Ch23
 
transport-layer-forouzan.pdf
transport-layer-forouzan.pdftransport-layer-forouzan.pdf
transport-layer-forouzan.pdf
 
transport layer protocols
transport layer protocolstransport layer protocols
transport layer protocols
 
DCN 5th ed. slides ch24 Transport-Layer Protocols.pdf
DCN 5th ed. slides ch24 Transport-Layer Protocols.pdfDCN 5th ed. slides ch24 Transport-Layer Protocols.pdf
DCN 5th ed. slides ch24 Transport-Layer Protocols.pdf
 
Ch 22
Ch 22Ch 22
Ch 22
 
udp , tcp ,sctp
udp , tcp ,sctpudp , tcp ,sctp
udp , tcp ,sctp
 
Transportlayer.ppt
Transportlayer.pptTransportlayer.ppt
Transportlayer.ppt
 
chapter 3.2 TCP.pptx
chapter 3.2 TCP.pptxchapter 3.2 TCP.pptx
chapter 3.2 TCP.pptx
 
Wireshark course, Ch 05: Advanced statistics tools
Wireshark course, Ch 05: Advanced statistics toolsWireshark course, Ch 05: Advanced statistics tools
Wireshark course, Ch 05: Advanced statistics tools
 
#KPC #CST #Protocols
#KPC #CST #Protocols #KPC #CST #Protocols
#KPC #CST #Protocols
 
unit 3 ns.ppt
unit 3 ns.pptunit 3 ns.ppt
unit 3 ns.ppt
 
HTTP and Email
HTTP and EmailHTTP and Email
HTTP and Email
 
Chap 25 multimedia
Chap 25 multimediaChap 25 multimedia
Chap 25 multimedia
 
TCP Traffic Control Chapter12
TCP Traffic Control Chapter12TCP Traffic Control Chapter12
TCP Traffic Control Chapter12
 
Pipelined Compression in Remote GPU Virtualization Systems using rCUDA: Early...
Pipelined Compression in Remote GPU Virtualization Systems using rCUDA: Early...Pipelined Compression in Remote GPU Virtualization Systems using rCUDA: Early...
Pipelined Compression in Remote GPU Virtualization Systems using rCUDA: Early...
 

More from Pankaj Debbarma

OS-01 Virtual Memory.pptx
OS-01 Virtual Memory.pptxOS-01 Virtual Memory.pptx
OS-01 Virtual Memory.pptxPankaj Debbarma
 
AI-06 Search Techniques - Informed.pptx
AI-06 Search Techniques - Informed.pptxAI-06 Search Techniques - Informed.pptx
AI-06 Search Techniques - Informed.pptxPankaj Debbarma
 
AI-05 Search Algorithms.pptx
AI-05 Search Algorithms.pptxAI-05 Search Algorithms.pptx
AI-05 Search Algorithms.pptxPankaj Debbarma
 
CP03-Data Structures.pptx
CP03-Data Structures.pptxCP03-Data Structures.pptx
CP03-Data Structures.pptxPankaj Debbarma
 
AI-04 Production System - Search Problem.pptx
AI-04 Production System - Search Problem.pptxAI-04 Production System - Search Problem.pptx
AI-04 Production System - Search Problem.pptxPankaj Debbarma
 
AI-03 Problems State Space.pptx
AI-03 Problems State Space.pptxAI-03 Problems State Space.pptx
AI-03 Problems State Space.pptxPankaj Debbarma
 
CP02-Structure and Union.pptx
CP02-Structure and Union.pptxCP02-Structure and Union.pptx
CP02-Structure and Union.pptxPankaj Debbarma
 
Computer Graphics & Visualization - 06
Computer Graphics & Visualization - 06Computer Graphics & Visualization - 06
Computer Graphics & Visualization - 06Pankaj Debbarma
 
NETWORK LAYER - Logical Addressing
NETWORK LAYER - Logical AddressingNETWORK LAYER - Logical Addressing
NETWORK LAYER - Logical AddressingPankaj Debbarma
 

More from Pankaj Debbarma (16)

AI-09 Logic in AI
AI-09 Logic in AIAI-09 Logic in AI
AI-09 Logic in AI
 
OS-02 Segmentation.pptx
OS-02 Segmentation.pptxOS-02 Segmentation.pptx
OS-02 Segmentation.pptx
 
AI-08 Game Playing.pptx
AI-08 Game Playing.pptxAI-08 Game Playing.pptx
AI-08 Game Playing.pptx
 
OS-01 Virtual Memory.pptx
OS-01 Virtual Memory.pptxOS-01 Virtual Memory.pptx
OS-01 Virtual Memory.pptx
 
AI-06 Search Techniques - Informed.pptx
AI-06 Search Techniques - Informed.pptxAI-06 Search Techniques - Informed.pptx
AI-06 Search Techniques - Informed.pptx
 
AI-05 Search Algorithms.pptx
AI-05 Search Algorithms.pptxAI-05 Search Algorithms.pptx
AI-05 Search Algorithms.pptx
 
CP03-Data Structures.pptx
CP03-Data Structures.pptxCP03-Data Structures.pptx
CP03-Data Structures.pptx
 
AI-04 Production System - Search Problem.pptx
AI-04 Production System - Search Problem.pptxAI-04 Production System - Search Problem.pptx
AI-04 Production System - Search Problem.pptx
 
AI-03 Problems State Space.pptx
AI-03 Problems State Space.pptxAI-03 Problems State Space.pptx
AI-03 Problems State Space.pptx
 
CP02-Structure and Union.pptx
CP02-Structure and Union.pptxCP02-Structure and Union.pptx
CP02-Structure and Union.pptx
 
Intelligent Agents
Intelligent AgentsIntelligent Agents
Intelligent Agents
 
CP01.pptx
CP01.pptxCP01.pptx
CP01.pptx
 
Computer Graphics & Visualization - 06
Computer Graphics & Visualization - 06Computer Graphics & Visualization - 06
Computer Graphics & Visualization - 06
 
Ppt World Wide Web
Ppt World Wide WebPpt World Wide Web
Ppt World Wide Web
 
Ppt congestion control
Ppt congestion controlPpt congestion control
Ppt congestion control
 
NETWORK LAYER - Logical Addressing
NETWORK LAYER - Logical AddressingNETWORK LAYER - Logical Addressing
NETWORK LAYER - Logical Addressing
 

Recently uploaded

VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
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
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
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
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
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
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 

Recently uploaded (20)

VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
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
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
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...
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
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
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 

TCP UDP SCTP Transport Layer Protocols

  • 2. TRANSPORT LAYER Process-to-Process Delivery: UDP, TCP and SCTP Slide 2Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT The transport layer is responsible for process-to-process delivery — the delivery of a packet, part of a message, from one process to another. Two processes communicate in a client/server relationship, as we will see later.
  • 3. Figure 23.1 Types of data deliveries Slide 3Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 4. Figure 23.2 Port numbers Slide 4Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 5. Figure 23.3 IP addresses versus port numbers Slide 5Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 6. Figure 23.4 IANA ranges Slide 6Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 7. Figure 23.5 Socket address Slide 7Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 8. Figure 23.6 Multiplexing and demultiplexing Slide 8Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 9. Figure 23.7 Error control Slide 9Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 10. Figure 23.8 Position of UDP, TCP and SCTP in TCP/IP suite Slide 10Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 11. UDP Connectionless & Unreliable Transport Protocol Slide 11Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT The User Datagram Protocol (UDP) is called a connectionless, unreliable transport protocol. It does not add anything to the services of IP except to provide process-to-process communication instead of host-to-host communication.
  • 12. Table 23.1 Well-known ports used with UDP Slide 12Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 13. Figure 23.9 User datagram format Slide 13Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 14. Figure 20.5 IPv4 datagram format Slide 14Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 15. Figure 23.10 Pseudoheader for checksum calculation Slide 15Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 16. Figure 23.11 Checksum calculation of a simple UDP user datagram Slide 16Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 17. Figure 23.12 Queues in UDP Slide 17Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 18. TCP (Transmission Control Protocol) Slide 18Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT TCP is a connection-oriented, reliable protocol; it creates a virtual connection between two TCPs to send data. In addition, TCP uses flow control and error control mechanisms at the transport level.
  • 19. Table 23.2 Well-known ports used with TCP Slide 19Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 20. Figure 23.13 Stream delivery Slide 20Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 21. Figure 23.14 Sending and receiving buffers Slide 21Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 22. Figure 23.15 TCP segments Slide 22Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 23. TCP Features Numbering System Slide 23Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 24. TCP Features: Numbering System Example 23.3 Slide 24Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT Suppose a TCP connection is transferring a file of 5000 bytes. The first byte is numbered 10,001. What are the sequence numbers for each segment if data are sent in five segments, each carrying 1000 bytes? The following shows the sequence number for each segment:
  • 25. TCP Features Numbering System Slide 25Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 26. Figure 23.16 TCP segment format Slide 26Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 27. Figure 23.17 Control field Slide 27Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 28. Table 23.3 Description of flags in the control field Slide 28Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 29. Figure 23.18 Connection establishment using three-way handshaking Slide 29Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 30. TCP Connection Establishment Three-Way Handshaking Slide 30Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 31. Figure 23.19 Data transfer Slide 31Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 32. Figure 23.20 Connection termination using three-way handshaking Slide 32Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 33. Figure 23.20 Connection termination using three-way handshaking Slide 33Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 34. Figure 23.21 Half-close Slide 34Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 35. Figure 23.22 Sliding window Slide 35Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 36. Flow Control Sliding window Slide 36Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 37. Flow Control Sliding window Slide 37Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT What is the value of the receiver window (rwnd) for host A if the receiver, host B, has a buffer size of 5000 bytes and 1000 bytes of received and unprocessed data? The value of rwnd = 5000 − 1000 = 4000. Host B can receive only 4000 bytes of data before overflowing its buffer. Host B advertises this value in its next segment to A.
  • 38. Flow Control Sliding window Slide 38Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT What is the size of the window for host A if the value of rwnd is 3000 bytes and the value of cwnd is 3500 bytes? The size of the window is the smaller of rwnd and cwnd, which is 3000 bytes.
  • 39. Flow Control Sliding window Slide 39Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT Figure 23.23 shows an unrealistic example of a sliding window. The sender has sent bytes up to 202. We assume that cwnd is 20 (in reality this value is thousands of bytes).  The receiver has sent an acknowledgment number of 200 with an rwnd of 9 bytes (in reality this value is thousands of bytes).  The size of the sender window is the minimum of rwnd and cwnd, or 9 bytes. Bytes 200 to 202 are sent, but not acknowledged.  Bytes 203 to 208 can be sent without worrying about acknowledgment. Bytes 209 and above cannot be sent.
  • 40. Figure 23.23 Example 23.6 Slide 40Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 41. Flow Control Sliding window Slide 41Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 42. Error Control Acknowledgement Slide 42Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 43. Error Control Retransmission Slide 43Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 44. Error Control Out-of-Order Segments Slide 44Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 45. Figure 23.24 Normal operation Slide 45Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 46. Figure 23.25 Lost segment Slide 46Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 47. Figure 23.25 Lost segment Slide 47Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 48. Figure 23.26 Fast retransmission Slide 48Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 49. SCTP Stream Control Transmission Protocol Slide 49Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT Stream Control Transmission Protocol (SCTP) is a new reliable, message- oriented transport layer protocol. SCTP, however, is mostly designed for Internet applications that have recently been introduced. These new applications need a more sophisticated service than TCP can provide.
  • 50. Table 23.4 Some SCTP applications Slide 50Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 51. Figure 23.27 Multiple-stream concept Slide 51Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 52. Figure 23.28 Multihoming concept Slide 52Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 53. SCTP Features Transmission Sequence Number, Stream Identifier, Stream Sequence Number Slide 53Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 54. Figure 23.29 Comparison between a TCP segment and an SCTP packet Slide 54Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 55. SCTP Features Packets Slide 55Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 56. Figure 23.30 Packet, data chunks, and streams Slide 56Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT
  • 57. SCTP Features Acknowledgement Number Slide 57Presented by Pankaj Debbarma, Asstt. Prof. Deptt. of Computer Science & Engineering, TIT