Chap 3 transport Flashcards
(87 cards)
What is the role of the transport layer in the TCP/IP model?
bridge between the network layer and the application layer,
transfer data between applications on different network nodes.
What are the key responsibilities of the transport layer?
- Building efficiency and reliability.
- Key services include port addressing,
- segmentation,
- flow control,
- error control
- congestion control
What is port addressing and why is it important?
The transport layer uses port numbers to identify different (applications) on a host.
Each application is assigned a unique port number,
* allowing multiple applications to communicate simultaneously on the same host
What is segmentation in the transport layer?
Breaking down large data streams into smaller, manageable packets for efficient transmission across networks
What is flow control in the transport layer?
Regulates the data flow between sender and receiver, preventing overwhelming the receiver’s processing capacity
What is error control in the transport layer?
Detects and corrects errors that occur during transmission using techniques like checksums and acknowledgements
What is congestion control in the transport layer?
Dynamically adjusts the data transfer rate based on network conditions to avoid congestion and performance degradation
What are the main characteristics of TCP?
- Connection-oriented
- Reliable
- Congestion control
- Flow control:
What are the main characteristics of UDP?
Connectionless
Unreliable
Prioritizes speed
How does the transport layer interact with the application layer?
- Receives data from applications in the form of application messages
- Segments the data into smaller, manageable packets.
- Adds header information, including source and destination port numbers.
- Hands over the packets to the network layer for routing
At a high level, what type of communication does the transport layer handle?
Process to process communication
What actions does the transport layer perform on the sender side?
- Application layer creates message and drops in socket
- Transport layer determines segment header fields values.
- Transport layer creates segment and passes segment to network layer
What actions does the transport layer perform on the receiver side?
- Receives segment from network layer.
- Extracts application-layer message.
- Checks header values to ensure segment is not corrupted.
- Demultiplexes message up to application via socket
What is multiplexing ?
Combining multiple data streams into a single stream for efficient transmission
What demultiplexing?
Separating a combined data stream into individual data streams for specific applications.
Allows multiple applications on a host to share the same network connection by using port numbers to identify different application endpoints.
What are the benefits of multiplexing?
- Optimizes network bandwidth utilization.
- Enables efficient utilization of network resources.
- Reduces overall transmission time.
- Enables communication for multiple applications on a single connection
How does multiplexing work?
- Transport layer assigns unique identifiers (port numbers) to each data stream
- These identifiers are embedded within the data packets.
- Packets from different streams are interleaved and sent as a single data stream
What is demultiplexing?
Demultiplexing takes a combined data stream and separates it into individual data streams for specific applications
What are the benefits of demultiplexing?
- Efficient Resource Utilization:
- Improved Performance
- Scalability
- Security
How does demultiplexing work?
- Each data packet in the combined stream carries a unique identifier, typically a port number.
- The transport layer uses these port numbers to identify the destination application for each packet.
- Based on port number, packet is forwarded to the appropriate application on the receiving device
What happens during multiplexing at the sender?
The** transport layer** will multiplex data from multiple processes and put it into a segment and add this segment to transport layer header,
this segment will be later used during demultiplexing
What is the purpose of demultiplexing at the receiver?
Use header info to deliver received segments to correct socket
Demultiplexing at reciever steps
- Host receives IP datagrams, each with source and destination IP addresses,
- each carrying one transport-layer segment with source and destination port numbers
- Host uses IP addresses and port numbers to direct segment to appropriate socket
How does demultiplexing work in UDP?
- Demultiplexing based on port numbers only.
- UDP packets only include the destination port number. T
- he transport layer uses the port number to deliver the data to the corresponding application