1
CS 4410 Operating Systems
Networking: Transport Layer
Summer 2013 Cornell University
Networking: Transport Layer Summer 2013 Cornell University 1 - - PowerPoint PPT Presentation
CS 4410 Operating Systems Networking: Transport Layer Summer 2013 Cornell University 1 Today What are the services that the Transport layer offers? Transport Layer Multiplexing-Demultiplexing UDP TCP Reliable
1
Summer 2013 Cornell University
2
3
Application Link Physical Application Link Physical Computer A Computer B Transport Transport Network Network M M Ht M Ht Hn M Ht Hn Hl Message Segment Datagram Frame
4
5
– It takes care of packet loss and reordering.
(computers).
6
should forward the received data?
want to send and forward it to the network layer?
They can send or receive data only through them.
information for the connection.
system.
data, it invokes a system call, passing the socket and the pointer to data.
7
OS.
checks the header, identifies the port number of the socket-destination and forwards the data there.
8
9
Source port number Destination port number Length Checksum Data
10
handshaking, and then they exchange data.
11
12
SYN SYN, ACK of SYN ACK of SYN
13
expects.
.. 1 ... 1000 ... 1999 499999 1st segment 2nd segment text
14
Seq=42, ACK=79, data='C' Seq=79, ACK=43, data='W' Seq=43, ACK=80
15
16
DATA, id=17 DATA, id=18 DATA, id=19 DATA, id=20 ACK 17 ACK 18 ACK 19 ACK 20
17
18
Time Bandwidth Max Bandwidth
19
20
Time Bandwidth Max Bandwidth
21