TransportLayerI Flashcards

1
Q

What is the main role of the transport layer?

A

To provide logical communication between processes running on different hosts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is multiplexing and demultiplexing?

A

Multiplexing gathers data from multiple applications for transmission. Demultiplexing delivers received segments to the correct application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does the transport layer use to identify processes?

A

Port numbers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How is a TCP socket uniquely identified?

A

By a four-tuple: Source IP, Source Port, Destination IP, Destination Port.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the two main transport layer protocols?

A

TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Key characteristics of TCP?

A

Reliable, connection-oriented, provides flow control and congestion control.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Key characteristics of UDP?

A

Unreliable, connectionless, no congestion control, lightweight.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a socket buffer?

A

Memory space where data is queued for transmission or reception.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What happens when data is handed to TCP for transmission?

A

TCP segments the data, adds headers (sequence numbers, ports) and passes it to IP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a checksum used for in transport protocols?

A

Detecting bit errors in transmitted segments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly