TransportLayerI Flashcards
What is the main role of the transport layer?
To provide logical communication between processes running on different hosts.
What is multiplexing and demultiplexing?
Multiplexing gathers data from multiple applications for transmission. Demultiplexing delivers received segments to the correct application.
What does the transport layer use to identify processes?
Port numbers.
How is a TCP socket uniquely identified?
By a four-tuple: Source IP, Source Port, Destination IP, Destination Port.
What are the two main transport layer protocols?
TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).
Key characteristics of TCP?
Reliable, connection-oriented, provides flow control and congestion control.
Key characteristics of UDP?
Unreliable, connectionless, no congestion control, lightweight.
What is a socket buffer?
Memory space where data is queued for transmission or reception.
What happens when data is handed to TCP for transmission?
TCP segments the data, adds headers (sequence numbers, ports) and passes it to IP.
What is a checksum used for in transport protocols?
Detecting bit errors in transmitted segments.