Академический Документы
Профессиональный Документы
Культура Документы
P3 P1
P1 P2 P4 application
application application
host 2 host 3
host 1
Transport Layer 38
How demultiplexing works
❒ host receives IP datagrams
❍ each datagram has source 32 bits
IP address, destination IP
source port # dest port #
address
❍ each datagram carries 1
transport-layer segment other header fields
❍ each segment has source,
destination port number
(recall: well-known port application
numbers for specific data
applications) (message)
❒ host uses IP addresses & port
numbers to direct segment to
appropriate socket TCP/UDP segment format
P3 P1
P1
P3
P3 P3 P4 P1
P1
SP: 80 SP: 80
DP: 9157 DP: 5775