SlideShare a Scribd company logo
Transport Layer
Shashikant V. Athawale
Assistant Professor
Department of Computer Engineering, AISSMS COE ,Pune
TCP
(Transmission Control Protocol)
● TCP is a connection-oriented protocol; it
creates a virtual connection between two
TCPs to send data.
● In addition, TCP uses flow and error
control mechanisms at the transport level
TCP/IP Protocol Suite
Stream Delivery
UDP
(User Datagram Protocol)
● 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.
Well known ports used with
UDP
User Datagram Format
Socket Programming
Socket
● An interface between application and
network
● The application creates a socket
● Build distributed, client server
applications
TCP Flow Control
Flow Control
● Sender won’t overrun receiver’s buffers
by transmitting too much, too fast
● RcvBuffer = size or TCP Receive Buffer
● RcvWindow = amount of spare room in
Buffer
Congestion Control
● Informally: “too many sources sending
too much data too fast for network to
handle”
● Manifestations:
◦ lost packets (buffer overflow at routers)
◦ long delays (queuing in router buffers)
● A highly important problem
End-end congestion control
● No explicit feedback from network
● Congestion inferred from end-system
observed loss, delay
● Approach taken by TCP
Network-assisted congestion
control
● Routers provide feedback to end systems
◦ Single bit indicating congestion (SNA,
DECbit, TCP/IP ECN, ATM)
◦ Explicit rate sender should send at
Goals of Congestion Control
● Throughput
◦ Maximize good put
◦ the total number of bits end-end
● Fairness
◦ Give different sessions “equal” share.
◦ Max-min fairness
⚫Maximize the minimum rate session.
◦ Single link
⚫Capacity R
⚫sessions m
⚫Each sessions: R/m
Real Time Transport Protocol
● A session consists of an RTP/RTCP pair
of channels
● Usually works over UDP/IP
● End-to-end protocol
RTP Features
◦ Multicasting
◦ Payload type identification
◦ Time shaping
◦ Sequencing
◦ Delivery monitoring
● RTP Issues
◦ No QoS guarantees
◦ No guarantee of packet delivery
● RTP Timestamp (TS) and Sequence Number
(SN)
◦ TS used to order packets in correct timing
order
◦ SN to detect packet loss
◦ For a video frame that spans multiple
packets – TS is same but SN is different
● RTCP
◦ Synchronize across different media
streams
◦ Provide feedback on the quality of data
using lost packet counts
◦ Identify and keep track of participants
◦ Retransmission requests
SCTP
(Stream Control Transmission
Protocol)
● Stream Control Transmission Protocol
(SCTP) is a new reliable, message
oriented transport-layer protocol
◦ Message-oriented, Reliable
◦ Other innovative features
⚫Association, Data transfer/Delivery
⚫Fragmentation, Error/Congestion
Control
Multiple stream concept
SCTP vs. TCP
● Control information
◦ TCP: part of the header
◦ SCTP: several types of control chunks
● Data
◦ TCP: one entity in a TCP segment
◦ SCTP: several data chunks in a packet
● Option
◦ TCP: part of the header
◦ SCTP: handled by defining new chunk
types
● Mandatory part of the header
◦ TCP: 20 bytes, SCTP: 12 bytes
◦ Reason:
⚫TSN in data chunk’s header
⚫Ack. # and window size are part of
control chunk
⚫No need for header length field (∵no
option)
⚫No need for an urgent pointer
● Checksum
◦ TCP: 16 bits, SCTP: 32 bit
● Association identifier
◦ TCP: none, SCTP: verification tag
◦ Multihoming in SCTP
● Sequence number
◦ TCP: one # in the header
◦ SCTP: TSN, SI and SSN define each data
chunk
◦ SYN and FIN need to consume one seq. #
◦ Control chunks never use a TSN, SI, or
SSN number
SCTP Packet Format
QoS
(Quality Of Service)
QoS
● Definition: Methods for differentiating traffic and
services
● To some, introducing an element of predictability
and consistency into a highly variable best-effort
network
● To others, obtaining higher network throughput
while maintaining consistent behavior
● Or, offering resources to high-priority service
classes at the expense of lower-priority classes
(conservation law)
● Or, matching network resources to application
demands
Applications
● Real-time: voice, video, emergency control,
stock quotes
● Non-real-time (or best-effort): telnet, ftp etc
● Real-time:
- hard with deterministic or guaranteed QoS:
no loss, packet delay less than deadline,
difference in delays of 2 packets less than
jitter bound
- soft with statistical or probabilistic QoS: no
more than x% of packets lost or experience
delay greater than deadline
SLA(Service Level Agreement)
● Service Level Agreement between client
(subscriber) and network (provider): the
network keeps its promise as long as the
flow conforms to the traffic specification
● The network must monitor/police/shape
incoming traffic
● The shape is important: E.g. a gigabit
network contracting with a 100Mbps
flow. A big difference between sending
one 100Mb packet every second and
sending 1Kb packet every 10 microsec.
Differentiated Services
● In DiffServ, flows are aggregated into
classes that receive “treatment” by class.
● More complex operations are pushed out
to edge routers and simpler operations
done by core routers.
● motivated by:
◦ scalability, flexibility, and better-than-
best-effort service without RSVP
signaling.
● edge functions:
◦ packet classification
◦ packet marking
◦ traffic conditioning
● core functions:
◦ forwarding based on per-hop behavior
(PHB) associated with packet’s class
Integrated Services
● IntServ framework was developed within
IETF to provide individualized QoS
guarantees to individual sessions.
● provides services on a per flow basis
where a flow is a packet stream with
common source address, destination
address and port number.
● IntServ routers must maintain per flow
state information.
Features
◦ Reserved Resources
⚫the router must know the amount of its
resources currently reserved for on-going
sessions.
⚫standard resources: link capacity, router
buffers
◦ Call Setup
⚫A flow requiring QoS guarantees must be
able to reserve sufficient resources at each
router on path to ensure QoS requirements are
met.
Conclusion
● TCP and UDP are explained with packet
formats
● Socket is explained in detail
● TCP flow control and congestion control
is explained
● RTCP, SCTP, QoS , Integrated and
Differentiated services are explained
References
● http://www.routeralley.com.
● D.E. Comer, Internetworking with
TCP/IP: Principles, Protocols, and
Architectures, 4th edition, Prentice Hall,
NJ, 2000.
● Data communication and networking by
Behrouz A Forouzan
Thank You!!!!!!!

More Related Content

What's hot

Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)
Shimona Agarwal
 
Mobile Network Layer
Mobile Network LayerMobile Network Layer
Mobile Network Layer
Rahul Hada
 
Transport Layer In Computer Network
Transport Layer In Computer NetworkTransport Layer In Computer Network
Transport Layer In Computer Network
Destro Destro
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
Naiyan Noor
 
6LoWPAN
6LoWPAN 6LoWPAN
Routing in Multicast Communication
Routing in Multicast CommunicationRouting in Multicast Communication
Routing in Multicast Communication
Sahil Jain
 
RPC: Remote procedure call
RPC: Remote procedure callRPC: Remote procedure call
RPC: Remote procedure call
Sunita Sahu
 
Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptx
Naveen Dubey
 
Switching
Switching Switching
Switching
Abid Ali
 
Network Layer
Network LayerNetwork Layer
Network Layer
Dr Shashikant Athawale
 
ARP
ARPARP
Message passing ( in computer science)
Message   passing  ( in   computer  science)Message   passing  ( in   computer  science)
Message passing ( in computer science)
Computer_ at_home
 
Internet control message protocol
Internet control message protocolInternet control message protocol
Internet control message protocol
asimnawaz54
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
N.Jagadish Kumar
 
TCP IP Addressing
TCP IP AddressingTCP IP Addressing
TCP IP Addressing
Ritul Sonania
 
Network layer tanenbaum
Network layer tanenbaumNetwork layer tanenbaum
Network layer tanenbaum
Mahesh Kumar Chelimilla
 
Ieee 802.11 wireless lan
Ieee 802.11 wireless lanIeee 802.11 wireless lan
Ieee 802.11 wireless lan
Parthipan Parthi
 
ENCAPSULATION AND TUNNELING
ENCAPSULATION AND TUNNELINGENCAPSULATION AND TUNNELING
ENCAPSULATION AND TUNNELING
Mohammad Adil
 
CoAP protocol -Internet of Things(iot)
CoAP protocol -Internet of Things(iot)CoAP protocol -Internet of Things(iot)
CoAP protocol -Internet of Things(iot)
Sabahat Nowreen Shaik
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
Sourabh Goyal
 

What's hot (20)

Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)
 
Mobile Network Layer
Mobile Network LayerMobile Network Layer
Mobile Network Layer
 
Transport Layer In Computer Network
Transport Layer In Computer NetworkTransport Layer In Computer Network
Transport Layer In Computer Network
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
 
6LoWPAN
6LoWPAN 6LoWPAN
6LoWPAN
 
Routing in Multicast Communication
Routing in Multicast CommunicationRouting in Multicast Communication
Routing in Multicast Communication
 
RPC: Remote procedure call
RPC: Remote procedure callRPC: Remote procedure call
RPC: Remote procedure call
 
Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptx
 
Switching
Switching Switching
Switching
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
ARP
ARPARP
ARP
 
Message passing ( in computer science)
Message   passing  ( in   computer  science)Message   passing  ( in   computer  science)
Message passing ( in computer science)
 
Internet control message protocol
Internet control message protocolInternet control message protocol
Internet control message protocol
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
 
TCP IP Addressing
TCP IP AddressingTCP IP Addressing
TCP IP Addressing
 
Network layer tanenbaum
Network layer tanenbaumNetwork layer tanenbaum
Network layer tanenbaum
 
Ieee 802.11 wireless lan
Ieee 802.11 wireless lanIeee 802.11 wireless lan
Ieee 802.11 wireless lan
 
ENCAPSULATION AND TUNNELING
ENCAPSULATION AND TUNNELINGENCAPSULATION AND TUNNELING
ENCAPSULATION AND TUNNELING
 
CoAP protocol -Internet of Things(iot)
CoAP protocol -Internet of Things(iot)CoAP protocol -Internet of Things(iot)
CoAP protocol -Internet of Things(iot)
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 

Viewers also liked

Application Layer
Application Layer Application Layer
Application Layer
Dr Shashikant Athawale
 
IETF 79 - Diameter Over SCTP
IETF 79 - Diameter Over SCTPIETF 79 - Diameter Over SCTP
IETF 79 - Diameter Over SCTP
Victor Pascual Ávila
 
Vo ip
Vo ipVo ip
Transport layer
Transport layerTransport layer
Transport layer
Sisir Ghosh
 
Advanced Wireless Technologies
Advanced Wireless TechnologiesAdvanced Wireless Technologies
Advanced Wireless Technologies
Dr Shashikant Athawale
 
Ch 19
Ch 19Ch 19
Transport layer (computer networks)
Transport layer (computer networks)Transport layer (computer networks)
Transport layer (computer networks)
Fatbardh Hysa
 
Transport layer
Transport layerTransport layer
Transport layer
steffy1996
 
Ch 29
Ch 29Ch 29
Ch 24
Ch 24Ch 24
Ch 23
Ch 23Ch 23
CCNAv5 - S1: Chapter 7 - Transport Layer
CCNAv5 - S1: Chapter 7 - Transport LayerCCNAv5 - S1: Chapter 7 - Transport Layer
CCNAv5 - S1: Chapter 7 - Transport Layer
Vuz Dở Hơi
 
Ch 25
Ch 25Ch 25
Delay telerant network
Delay telerant networkDelay telerant network
Delay telerant network
Dr Shashikant Athawale
 
Basic Concepts in Wireless LAN
Basic Concepts in Wireless LANBasic Concepts in Wireless LAN
Basic Concepts in Wireless LAN
Dr Shashikant Athawale
 
Advance Network Technologies
Advance Network TechnologiesAdvance Network Technologies
Advance Network Technologies
Dr Shashikant Athawale
 
Vehicular network
Vehicular networkVehicular network
Vehicular network
Dr Shashikant Athawale
 
Ch 22
Ch 22Ch 22
Tcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport LayerTcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport Layer
tmavroidis
 
TCP protocol flow control
TCP protocol flow control TCP protocol flow control
TCP protocol flow control
anuragjagetiya
 

Viewers also liked (20)

Application Layer
Application Layer Application Layer
Application Layer
 
IETF 79 - Diameter Over SCTP
IETF 79 - Diameter Over SCTPIETF 79 - Diameter Over SCTP
IETF 79 - Diameter Over SCTP
 
Vo ip
Vo ipVo ip
Vo ip
 
Transport layer
Transport layerTransport layer
Transport layer
 
Advanced Wireless Technologies
Advanced Wireless TechnologiesAdvanced Wireless Technologies
Advanced Wireless Technologies
 
Ch 19
Ch 19Ch 19
Ch 19
 
Transport layer (computer networks)
Transport layer (computer networks)Transport layer (computer networks)
Transport layer (computer networks)
 
Transport layer
Transport layerTransport layer
Transport layer
 
Ch 29
Ch 29Ch 29
Ch 29
 
Ch 24
Ch 24Ch 24
Ch 24
 
Ch 23
Ch 23Ch 23
Ch 23
 
CCNAv5 - S1: Chapter 7 - Transport Layer
CCNAv5 - S1: Chapter 7 - Transport LayerCCNAv5 - S1: Chapter 7 - Transport Layer
CCNAv5 - S1: Chapter 7 - Transport Layer
 
Ch 25
Ch 25Ch 25
Ch 25
 
Delay telerant network
Delay telerant networkDelay telerant network
Delay telerant network
 
Basic Concepts in Wireless LAN
Basic Concepts in Wireless LANBasic Concepts in Wireless LAN
Basic Concepts in Wireless LAN
 
Advance Network Technologies
Advance Network TechnologiesAdvance Network Technologies
Advance Network Technologies
 
Vehicular network
Vehicular networkVehicular network
Vehicular network
 
Ch 22
Ch 22Ch 22
Ch 22
 
Tcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport LayerTcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport Layer
 
TCP protocol flow control
TCP protocol flow control TCP protocol flow control
TCP protocol flow control
 

Similar to Transport Layer

Networking essentials lect3
Networking essentials lect3Networking essentials lect3
Networking essentials lect3
Roman Brovko
 
RTP & RTCP
RTP & RTCPRTP & RTCP
gRPC Design and Implementation
gRPC Design and ImplementationgRPC Design and Implementation
gRPC Design and Implementation
Varun Talwar
 
Rtp
RtpRtp
Network performance overview
Network  performance overviewNetwork  performance overview
Network performance overview
My cp
 
Traffic Characterization
Traffic CharacterizationTraffic Characterization
Traffic Characterization
Ismail Mukiibi
 
Transaction TCP
Transaction TCPTransaction TCP
Transaction TCP
amardeepsingh1902
 
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
Waqas Ahmed Nawaz
 
Transport layer.pptx
Transport layer.pptxTransport layer.pptx
Transport layer.pptx
MohammedAnas871930
 
RIPE 80: Buffers and Protocols
RIPE 80: Buffers and ProtocolsRIPE 80: Buffers and Protocols
RIPE 80: Buffers and Protocols
APNIC
 
Bg4101335337
Bg4101335337Bg4101335337
Bg4101335337
IJERA Editor
 
ONS Summit 2017 SKT TINA
ONS Summit 2017 SKT TINAONS Summit 2017 SKT TINA
ONS Summit 2017 SKT TINA
Junho Suh
 
Unit 4-Transport Layer Protocols-3.pptx
Unit 4-Transport Layer Protocols-3.pptxUnit 4-Transport Layer Protocols-3.pptx
Unit 4-Transport Layer Protocols-3.pptx
DESTROYER39
 
Unit 4-Transport Layer Protocols.pptx
Unit 4-Transport Layer Protocols.pptxUnit 4-Transport Layer Protocols.pptx
Unit 4-Transport Layer Protocols.pptx
sarosh32
 
Transport protocols
Transport protocolsTransport protocols
Transport protocols
Online
 
QoSintro.PPT
QoSintro.PPTQoSintro.PPT
QoSintro.PPT
payal445263
 
Jaimin chp-6 - transport layer- 2011 batch
Jaimin   chp-6 - transport layer- 2011 batchJaimin   chp-6 - transport layer- 2011 batch
Jaimin chp-6 - transport layer- 2011 batch
Jaimin Jani
 
Master Class : TCP/IP Mechanics from Scratch to Expert
Master Class : TCP/IP Mechanics from Scratch to ExpertMaster Class : TCP/IP Mechanics from Scratch to Expert
Master Class : TCP/IP Mechanics from Scratch to Expert
Abhishek Sagar
 
Advanced networking - scheduling and QoS part 1
Advanced networking - scheduling and QoS part 1Advanced networking - scheduling and QoS part 1
Advanced networking - scheduling and QoS part 1
GIST (Gwangju Institute of Science and Technology)
 
High performance browser networking ch1,2,3
High performance browser networking ch1,2,3High performance browser networking ch1,2,3
High performance browser networking ch1,2,3
Seung-Bum Lee
 

Similar to Transport Layer (20)

Networking essentials lect3
Networking essentials lect3Networking essentials lect3
Networking essentials lect3
 
RTP & RTCP
RTP & RTCPRTP & RTCP
RTP & RTCP
 
gRPC Design and Implementation
gRPC Design and ImplementationgRPC Design and Implementation
gRPC Design and Implementation
 
Rtp
RtpRtp
Rtp
 
Network performance overview
Network  performance overviewNetwork  performance overview
Network performance overview
 
Traffic Characterization
Traffic CharacterizationTraffic Characterization
Traffic Characterization
 
Transaction TCP
Transaction TCPTransaction TCP
Transaction TCP
 
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
 
Transport layer.pptx
Transport layer.pptxTransport layer.pptx
Transport layer.pptx
 
RIPE 80: Buffers and Protocols
RIPE 80: Buffers and ProtocolsRIPE 80: Buffers and Protocols
RIPE 80: Buffers and Protocols
 
Bg4101335337
Bg4101335337Bg4101335337
Bg4101335337
 
ONS Summit 2017 SKT TINA
ONS Summit 2017 SKT TINAONS Summit 2017 SKT TINA
ONS Summit 2017 SKT TINA
 
Unit 4-Transport Layer Protocols-3.pptx
Unit 4-Transport Layer Protocols-3.pptxUnit 4-Transport Layer Protocols-3.pptx
Unit 4-Transport Layer Protocols-3.pptx
 
Unit 4-Transport Layer Protocols.pptx
Unit 4-Transport Layer Protocols.pptxUnit 4-Transport Layer Protocols.pptx
Unit 4-Transport Layer Protocols.pptx
 
Transport protocols
Transport protocolsTransport protocols
Transport protocols
 
QoSintro.PPT
QoSintro.PPTQoSintro.PPT
QoSintro.PPT
 
Jaimin chp-6 - transport layer- 2011 batch
Jaimin   chp-6 - transport layer- 2011 batchJaimin   chp-6 - transport layer- 2011 batch
Jaimin chp-6 - transport layer- 2011 batch
 
Master Class : TCP/IP Mechanics from Scratch to Expert
Master Class : TCP/IP Mechanics from Scratch to ExpertMaster Class : TCP/IP Mechanics from Scratch to Expert
Master Class : TCP/IP Mechanics from Scratch to Expert
 
Advanced networking - scheduling and QoS part 1
Advanced networking - scheduling and QoS part 1Advanced networking - scheduling and QoS part 1
Advanced networking - scheduling and QoS part 1
 
High performance browser networking ch1,2,3
High performance browser networking ch1,2,3High performance browser networking ch1,2,3
High performance browser networking ch1,2,3
 

More from Dr Shashikant Athawale

multi threaded and distributed algorithms
multi threaded and distributed algorithms multi threaded and distributed algorithms
multi threaded and distributed algorithms
Dr Shashikant Athawale
 
Amortized analysis
Amortized analysisAmortized analysis
Amortized analysis
Dr Shashikant Athawale
 
Complexity theory
Complexity theory Complexity theory
Complexity theory
Dr Shashikant Athawale
 
Divide and Conquer
Divide and ConquerDivide and Conquer
Divide and Conquer
Dr Shashikant Athawale
 
Model and Design
Model and Design Model and Design
Model and Design
Dr Shashikant Athawale
 
Fundamental of Algorithms
Fundamental of Algorithms Fundamental of Algorithms
Fundamental of Algorithms
Dr Shashikant Athawale
 
CUDA Architecture
CUDA ArchitectureCUDA Architecture
CUDA Architecture
Dr Shashikant Athawale
 
Parallel Algorithms- Sorting and Graph
Parallel Algorithms- Sorting and GraphParallel Algorithms- Sorting and Graph
Parallel Algorithms- Sorting and Graph
Dr Shashikant Athawale
 
Analytical Models of Parallel Programs
Analytical Models of Parallel ProgramsAnalytical Models of Parallel Programs
Analytical Models of Parallel Programs
Dr Shashikant Athawale
 
Basic Communication
Basic CommunicationBasic Communication
Basic Communication
Dr Shashikant Athawale
 
Parallel Processing Concepts
Parallel Processing Concepts Parallel Processing Concepts
Parallel Processing Concepts
Dr Shashikant Athawale
 
Parallel Processing Concepts
Parallel Processing Concepts Parallel Processing Concepts
Parallel Processing Concepts
Dr Shashikant Athawale
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
Dr Shashikant Athawale
 
Parallel algorithms
Parallel algorithms Parallel algorithms
Parallel algorithms
Dr Shashikant Athawale
 
Greedy method
Greedy method Greedy method
Greedy method
Dr Shashikant Athawale
 
Divide and conquer
Divide and conquerDivide and conquer
Divide and conquer
Dr Shashikant Athawale
 
Branch and bound
Branch and boundBranch and bound
Branch and bound
Dr Shashikant Athawale
 
Asymptotic notation
Asymptotic notationAsymptotic notation
Asymptotic notation
Dr Shashikant Athawale
 
String matching algorithms
String matching algorithmsString matching algorithms
String matching algorithms
Dr Shashikant Athawale
 

More from Dr Shashikant Athawale (19)

multi threaded and distributed algorithms
multi threaded and distributed algorithms multi threaded and distributed algorithms
multi threaded and distributed algorithms
 
Amortized analysis
Amortized analysisAmortized analysis
Amortized analysis
 
Complexity theory
Complexity theory Complexity theory
Complexity theory
 
Divide and Conquer
Divide and ConquerDivide and Conquer
Divide and Conquer
 
Model and Design
Model and Design Model and Design
Model and Design
 
Fundamental of Algorithms
Fundamental of Algorithms Fundamental of Algorithms
Fundamental of Algorithms
 
CUDA Architecture
CUDA ArchitectureCUDA Architecture
CUDA Architecture
 
Parallel Algorithms- Sorting and Graph
Parallel Algorithms- Sorting and GraphParallel Algorithms- Sorting and Graph
Parallel Algorithms- Sorting and Graph
 
Analytical Models of Parallel Programs
Analytical Models of Parallel ProgramsAnalytical Models of Parallel Programs
Analytical Models of Parallel Programs
 
Basic Communication
Basic CommunicationBasic Communication
Basic Communication
 
Parallel Processing Concepts
Parallel Processing Concepts Parallel Processing Concepts
Parallel Processing Concepts
 
Parallel Processing Concepts
Parallel Processing Concepts Parallel Processing Concepts
Parallel Processing Concepts
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
 
Parallel algorithms
Parallel algorithms Parallel algorithms
Parallel algorithms
 
Greedy method
Greedy method Greedy method
Greedy method
 
Divide and conquer
Divide and conquerDivide and conquer
Divide and conquer
 
Branch and bound
Branch and boundBranch and bound
Branch and bound
 
Asymptotic notation
Asymptotic notationAsymptotic notation
Asymptotic notation
 
String matching algorithms
String matching algorithmsString matching algorithms
String matching algorithms
 

Recently uploaded

Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
Aditya Rajan Patra
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 

Recently uploaded (20)

Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 

Transport Layer

  • 1. Transport Layer Shashikant V. Athawale Assistant Professor Department of Computer Engineering, AISSMS COE ,Pune
  • 3. ● TCP is a connection-oriented protocol; it creates a virtual connection between two TCPs to send data. ● In addition, TCP uses flow and error control mechanisms at the transport level
  • 5.
  • 8. ● 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.
  • 9. Well known ports used with UDP
  • 12. Socket ● An interface between application and network ● The application creates a socket ● Build distributed, client server applications
  • 13.
  • 15. Flow Control ● Sender won’t overrun receiver’s buffers by transmitting too much, too fast ● RcvBuffer = size or TCP Receive Buffer ● RcvWindow = amount of spare room in Buffer
  • 17. ● Informally: “too many sources sending too much data too fast for network to handle” ● Manifestations: ◦ lost packets (buffer overflow at routers) ◦ long delays (queuing in router buffers) ● A highly important problem
  • 18. End-end congestion control ● No explicit feedback from network ● Congestion inferred from end-system observed loss, delay ● Approach taken by TCP
  • 19. Network-assisted congestion control ● Routers provide feedback to end systems ◦ Single bit indicating congestion (SNA, DECbit, TCP/IP ECN, ATM) ◦ Explicit rate sender should send at
  • 20. Goals of Congestion Control ● Throughput ◦ Maximize good put ◦ the total number of bits end-end ● Fairness ◦ Give different sessions “equal” share. ◦ Max-min fairness ⚫Maximize the minimum rate session. ◦ Single link ⚫Capacity R ⚫sessions m ⚫Each sessions: R/m
  • 22. ● A session consists of an RTP/RTCP pair of channels ● Usually works over UDP/IP ● End-to-end protocol
  • 23. RTP Features ◦ Multicasting ◦ Payload type identification ◦ Time shaping ◦ Sequencing ◦ Delivery monitoring
  • 24. ● RTP Issues ◦ No QoS guarantees ◦ No guarantee of packet delivery ● RTP Timestamp (TS) and Sequence Number (SN) ◦ TS used to order packets in correct timing order ◦ SN to detect packet loss ◦ For a video frame that spans multiple packets – TS is same but SN is different
  • 25. ● RTCP ◦ Synchronize across different media streams ◦ Provide feedback on the quality of data using lost packet counts ◦ Identify and keep track of participants ◦ Retransmission requests
  • 27. ● Stream Control Transmission Protocol (SCTP) is a new reliable, message oriented transport-layer protocol ◦ Message-oriented, Reliable ◦ Other innovative features ⚫Association, Data transfer/Delivery ⚫Fragmentation, Error/Congestion Control
  • 29. SCTP vs. TCP ● Control information ◦ TCP: part of the header ◦ SCTP: several types of control chunks ● Data ◦ TCP: one entity in a TCP segment ◦ SCTP: several data chunks in a packet ● Option ◦ TCP: part of the header ◦ SCTP: handled by defining new chunk types
  • 30. ● Mandatory part of the header ◦ TCP: 20 bytes, SCTP: 12 bytes ◦ Reason: ⚫TSN in data chunk’s header ⚫Ack. # and window size are part of control chunk ⚫No need for header length field (∵no option) ⚫No need for an urgent pointer ● Checksum ◦ TCP: 16 bits, SCTP: 32 bit
  • 31. ● Association identifier ◦ TCP: none, SCTP: verification tag ◦ Multihoming in SCTP ● Sequence number ◦ TCP: one # in the header ◦ SCTP: TSN, SI and SSN define each data chunk ◦ SYN and FIN need to consume one seq. # ◦ Control chunks never use a TSN, SI, or SSN number
  • 34. QoS ● Definition: Methods for differentiating traffic and services ● To some, introducing an element of predictability and consistency into a highly variable best-effort network ● To others, obtaining higher network throughput while maintaining consistent behavior ● Or, offering resources to high-priority service classes at the expense of lower-priority classes (conservation law) ● Or, matching network resources to application demands
  • 35. Applications ● Real-time: voice, video, emergency control, stock quotes ● Non-real-time (or best-effort): telnet, ftp etc ● Real-time: - hard with deterministic or guaranteed QoS: no loss, packet delay less than deadline, difference in delays of 2 packets less than jitter bound - soft with statistical or probabilistic QoS: no more than x% of packets lost or experience delay greater than deadline
  • 36. SLA(Service Level Agreement) ● Service Level Agreement between client (subscriber) and network (provider): the network keeps its promise as long as the flow conforms to the traffic specification ● The network must monitor/police/shape incoming traffic ● The shape is important: E.g. a gigabit network contracting with a 100Mbps flow. A big difference between sending one 100Mb packet every second and sending 1Kb packet every 10 microsec.
  • 38. ● In DiffServ, flows are aggregated into classes that receive “treatment” by class. ● More complex operations are pushed out to edge routers and simpler operations done by core routers. ● motivated by: ◦ scalability, flexibility, and better-than- best-effort service without RSVP signaling.
  • 39. ● edge functions: ◦ packet classification ◦ packet marking ◦ traffic conditioning ● core functions: ◦ forwarding based on per-hop behavior (PHB) associated with packet’s class
  • 41. ● IntServ framework was developed within IETF to provide individualized QoS guarantees to individual sessions. ● provides services on a per flow basis where a flow is a packet stream with common source address, destination address and port number. ● IntServ routers must maintain per flow state information.
  • 42. Features ◦ Reserved Resources ⚫the router must know the amount of its resources currently reserved for on-going sessions. ⚫standard resources: link capacity, router buffers ◦ Call Setup ⚫A flow requiring QoS guarantees must be able to reserve sufficient resources at each router on path to ensure QoS requirements are met.
  • 43. Conclusion ● TCP and UDP are explained with packet formats ● Socket is explained in detail ● TCP flow control and congestion control is explained ● RTCP, SCTP, QoS , Integrated and Differentiated services are explained
  • 44. References ● http://www.routeralley.com. ● D.E. Comer, Internetworking with TCP/IP: Principles, Protocols, and Architectures, 4th edition, Prentice Hall, NJ, 2000. ● Data communication and networking by Behrouz A Forouzan