Documente Academic
Documente Profesional
Documente Cultură
Transport Layer
ADDRESSING &
THE BASICS
CONNECTIONS
PREVIEW
BUFFERS &FLOW
TCP
MANAGEMENT
THE BASICS
Transport Layer
Where Where
are We?????
are we?
Connection control
Sequencing
Application
Multiplexing
Congestion control
Flow control
Error control
Services Provided to Transport Layer
Software/ hardware within the tpt layer that does the work is
called the Transport Entity.
Types of Services
• Connection Oriented
• Connection Less
Provides:
• Reliability
• Flow Control
• Congestion Control
Transport interface allows application programs to establish, use,
and release connections.
Elements of Transport Protocols
Connection establishment
Release of connections
Crash Recovery
ADDRESSING
Transport Layer
Addressing
Response lost.
Connection Release - Solution
Requirement of Buffers
• For an unreliable Network service buffering reqd
at the sender end.
• Buffering reqd at the receiver for a protocol
working on the basis of Selective repeat.
Flow Control & Buffering
Flow Control and Buffering
Size of the buffer a crucial issue.
Unused space
Flow Control & Buffering
Flow Control and Buffering
Variable size buffers - Better memory utilization
but complicated buffer management
Chained variable
size buffers
Unused space
FlowControl
Flow Control and Buffering
& Buffering
TPDU 1
TPDU 2
Unused space
Buffering – Trade
Buffering – TradeOffs Offs
PROTOCOLS
Transport Layer
Transport Layer Protocols
Transport Layer Protocols
TCP
Transport Layer
Transmission Control Protocol
Transmission Control Protocol
• IP address of host
• 16 bit number local to the host called port.
• send it immediately or
• buffer it at its own discretion.
If application wants the data to be sent immediately, it can use the
PUSH flag, which tells the TCP not to delay the transmission.
Control info along with Urgent flag causes the sending TCP entity
to stop accumulating data and transmit everything immediately.
6-31
Flow control
Then send the rest and again buffer till the previous
batch is ack.
Clark’s Solution - Prevent receiver from advertising a window size of one byte. Instead
wait till the window is half empty or the window size = full segment size.
TCP Congestion Control
When time out occurs, it is set to half of the current congestion window and the
congestion window is set to max segment size.
Exponential growth stops at the threshold and the congestion window increases
linearly (one max segment size per ACK) till the receiver window size is reached.