Chapter - 3 - V7.01 Part 1
Chapter - 3 - V7.01 Part 1
Chapter - 3 - V7.01 Part 1
Transport Layer
Part 1
Computer
They obviously represent a lot of work on our part. In return for use, we only
ask the following:
If you use these slides (e.g., in a class) that you mention their source
(after all, we’d like people to use our book!)
Networking: A Top
If you post any slides on a www site, that you note that they are adapted
from (or perhaps identical to) our slides, and note our copyright of this
Down Approach
material.
7th edition
Thanks and enjoy! JFK/KWR
Jim Kurose, Keith Ross
All material copyright 1996-2016 Pearson/Addison Wesley
J.F Kurose and K.W. Ross, All Rights Reserved April 2016
Transport Layer 2-1
Chapter 3: Transport Layer
our goals:
understand principles learn about Internet
behind transport transport layer protocols:
layer services: • UDP: connectionless
• reliable data transfer transport
• flow control • TCP: connection-oriented
• congestion control reliable transport
• TCP congestion control
network
• 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
1 1 0 0 1 1 0 1 0 0 1 0 1 0 1 1 0
1 0 0 0 0 1 1 0 1 1 1 0 0 1 1 0 0
0 0 0 0 1 0 1 1 1 0 0 0 1 1 1 0
Sum= ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Checksum= 1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
1 1 0 0 1 1 0 1 0 0 1 0 1 0 1 1 0
1 0 0 0 0 1 1 0 1 1 1 0 0 1 1 0 0
0 0 0 0 1 0 1 1 1 0 0 0 1 1 1 0
Sum= 1 0 1 1 0 0 1 1 1 0 1 1 0 0 0 0
Checksum= 1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
1 1 0 0 1 1 0 1 0 0 1 0 1 0 1 1 0
1 0 0 0 0 1 1 0 1 1 1 0 0 1 1 0 0
0 0 0 0 1 0 1 1 1 0 0 0 1 1 1 0
Sum= 1 0 1 1 0 0 1 1 1 0 1 1 0 0 0 0
Checksum= 1 0 1 0 0 1 1 0 0 0 1 0 0 1 1 1 1