SlideShare ist ein Scribd-Unternehmen logo
1 von 45
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!!!!!!!

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Chapter 21
Chapter 21Chapter 21
Chapter 21
 
the transport layer
the transport layerthe transport layer
the transport layer
 
Transportlayer tanenbaum
Transportlayer tanenbaumTransportlayer tanenbaum
Transportlayer tanenbaum
 
Unit 3 Network Layer PPT
Unit 3 Network Layer PPTUnit 3 Network Layer PPT
Unit 3 Network Layer PPT
 
UDP - User Datagram Protocol
UDP - User Datagram ProtocolUDP - User Datagram Protocol
UDP - User Datagram Protocol
 
5. icmp
5. icmp5. icmp
5. icmp
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)
 
Transport layer
Transport layerTransport layer
Transport layer
 
transport layer protocols
transport layer protocolstransport layer protocols
transport layer protocols
 
9_Network.ppt
9_Network.ppt9_Network.ppt
9_Network.ppt
 
Multicasting and multicast routing protocols
Multicasting and multicast routing protocolsMulticasting and multicast routing protocols
Multicasting and multicast routing protocols
 
Sctp
SctpSctp
Sctp
 
Icmp
IcmpIcmp
Icmp
 
Transport layer (computer networks)
Transport layer (computer networks)Transport layer (computer networks)
Transport layer (computer networks)
 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
 
OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)
 
Cs8591 u4
Cs8591 u4Cs8591 u4
Cs8591 u4
 
Computer networks - Channelization
Computer networks - ChannelizationComputer networks - Channelization
Computer networks - Channelization
 
Internet control message protocol
Internet control message protocolInternet control message protocol
Internet control message protocol
 

Andere mochten auch (20)

Network Layer
Network LayerNetwork Layer
Network Layer
 
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
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
 
Lecture application layer
Lecture application layerLecture application layer
Lecture application layer
 

Ähnlich wie Transport Layer

Networking essentials lect3
Networking essentials lect3Networking essentials lect3
Networking essentials lect3Roman Brovko
 
gRPC Design and Implementation
gRPC Design and ImplementationgRPC Design and Implementation
gRPC Design and ImplementationVarun Talwar
 
Network performance overview
Network  performance overviewNetwork  performance overview
Network performance overviewMy cp
 
Traffic Characterization
Traffic CharacterizationTraffic Characterization
Traffic CharacterizationIsmail Mukiibi
 
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 9Waqas Ahmed Nawaz
 
RIPE 80: Buffers and Protocols
RIPE 80: Buffers and ProtocolsRIPE 80: Buffers and Protocols
RIPE 80: Buffers and ProtocolsAPNIC
 
ONS Summit 2017 SKT TINA
ONS Summit 2017 SKT TINAONS Summit 2017 SKT TINA
ONS Summit 2017 SKT TINAJunho 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.pptxDESTROYER39
 
Unit 4-Transport Layer Protocols.pptx
Unit 4-Transport Layer Protocols.pptxUnit 4-Transport Layer Protocols.pptx
Unit 4-Transport Layer Protocols.pptxsarosh32
 
Transport protocols
Transport protocolsTransport protocols
Transport protocolsOnline
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer servicesMelvin Cabatuan
 
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 batchJaimin 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 ExpertAbhishek Sagar
 

Ähnlich wie 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
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer services
 
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
 

Mehr von 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
 

Kürzlich hochgeladen

Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...soginsider
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...tanu pandey
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 

Kürzlich hochgeladen (20)

Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 

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