Chapter 6: Transport layer Flashcards
Primary function of the transport layer
Distinguishes packets between different applications running on a device.
Transport entity
Thing that executes transport functions, which is in the operating system’s kernel. All networks must connect through the operating system.
Sockets
Connection points where the higher levels can connect to in order to use transport layer functions
Addressing
Each layer that supports multiple destinations have some kind of addressing scheme. Transport layer also has capabilities of funnelling data to a particular application, also has addresses called ports.
Elements of transport protocols
All transport protocols address the same issue. Thus, there are elements of each protocol that can be compared with one another.
Common transport protocols
We will use the 3 most common:
TCP (connection-oriented)
UDP(connectionless)
RTP(media focussed)
Packets in the transport layer
We call sections of data transmitted over the network, segments
Transport layer is accessible to…
All programs because it is software located in the operating system kernel. It is accessible to all applications using a standardised scheme.
Sockets
A connection point where an application can connect to the transport layer.
Sockets detailed
They are service primitives that applications can employ in order to use the services of the transport layer.S
Socket example
An application wants to send data over the network. The application will make use of a SEND socket. It “plugs into” a socket in the transport layer that allows data to be sent.
Primitive: Socket
Create a new communication endpoint.
Primitive: bind
Associate a local address with a socket.
Primitive: Listen
Announce willingness to accept connections; give queue size.
Primitive: Accept
Passively establish an incoming connection.
Primitive: Connect
Actively attempt to establish a connection.
Primitive: Send
Send some data over the connection.
Primitive: Receive
Receive some data from the connection.
Primitive: Close
Release the connection.
Regarding addressing…
Transport layer must be able to distinguish between applications.
Ports
A single 16-bit integer value that is used for addressing applications in the transport layer.
It has values between 0 and 65535.
Transport layer provides clean and managed…
Access to the network layer.
Transport and data-link layer differ by…
Medium the layers use. Data-link only manipulates the physical layer, while the transport layer has an entire network as a medium.
Transport layer data could experience delays because…
Of the nature of the network. Even though segments are sent in the correct order, they may arrive in the incorrect order. Also a network could have many hosts.