Professional Documents
Culture Documents
Chapter3 Part1
Chapter3 Part1
Chapter3 Part1
Transport Layer
Computer
Networking: A Top
Down Approach
6th edition
Jim Kurose, Keith Ross
Addison-Wesley
March 2012
processes running on
different hosts
lo
gi
ca
transport protocols run in
le
nd
end systems
- en
d
send side: breaks app
tra
ns
messages into
po
rt
segments, passes to application
segments into
messages, passes to
app layer
Transport Layer 3-2
more than one transport
Transport vs. network layer
network layer: household analogy:
logical
communication 12 kids in Ann’s house sending
letters to 12 kids in Bill’s
between hosts house:
transport layer: hosts = houses
delivery (TCP)
data link
physical
network
network data link
congestion control
lo
data link physical
gi
physical
ca
network
flow control
l
en
data link
physical
d-
en
connection setup network
d
tra
data link
physical
unreliable,
ns
po
network
rt
data link
application
UDP physical
network
data link
transport
network
data link
no-frills extension of
physical
physical
“best-effort” IP
services not
available: Transport Layer 3-4
UDP: User Datagram Protocol [RFC 768]
“no frills,” “bare bones” UDP use:
Internet transport protocol streaming multimedia
“best effort” service, UDP apps (loss tolerant, rate
segments may be: sensitive)
lost DNS
delivered out-of- SNMP
order to app reliable transfer over
connectionless: UDP:
no handshaking add reliability at
application layer
between UDP
application-specific error
sender, receiver recovery!
each UDP segment
handled
independently of Transport Layer 3-5
UDP: segment header
length, in bytes of
32 bits UDP segment,
source port # dest port # including header
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
U L/R .008
sender = = = 0.00027
RTT + L / R 30.008
U 3L / R .0024
sender = = = 0.00081
RTT + L / R 30.008
otherwise:
ignore