Chapter3 Part1
Chapter3 Part1
Chapter3 Part1
Transport Layer
processes running on
different hosts
lo
gi
ca
transport protocols run in
l
en
d-
end systems
en
d
send side: breaks app
tra
ns
messages into segments,
po
rt
passes to network layer
application
rcv side: reassembles transport
network
segments into messages, data link
physical
passes to app layer
more than one transport
protocol available to apps
Internet: TCP and UDP Transport Layer 3-4
Transport vs. network layer
network layer: household analogy:
logical
communication 12 kids in Ann’s house
sending letters to 12 kids in
between hosts Bill’s house:
transport layer: hosts = houses
lo
data link physical
gi
physical
flow control
ca
network
l
data link
en
connection setup physical
d-
en
network
d
unreliable, unordered
tra
data link
physical
ns
delivery: UDP
po
network
data link
rt
physical
no-frills extension of network
data link application
“ best-effort” IP physical
network
data link
transport
network
data link
services not available:
physical
physical
delay guarantees
bandwidth guarantees
application
application
application P4 P5 P6 application
P3 P2 P3
transport
transport transport
network
network link network
link physical link
physical server: IP physical
address B
length checksum
why is there a UDP?
no connection
application establishment (which can
data add delay)
(payload) simple: no connection
state at sender, receiver
small header size
UDP segment format
no congestion control:
UDP can blast away as
fast as desired
wraparound 1 1 0 1 1 1 0 1 1 1 0 1 1 1 0 1 1
sum 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 0
checksum 1 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 1
characteristics of unreliable channel will determine complexity of reliable data transfer protocol
(rdt)
characteristics of unreliable channel will determine complexity of reliable data transfer protocol
(rdt)
characteristics of unreliable channel will determine complexity of reliable data transfer protocol
(rdt)
send receive
side side
sender receiver