TCP & UDP Flashcards
What is the purpose of L4
Provide transparent transfer of data between hosts
What does “transparent data transfer between hosts” mean?
Hosts involved are not aware of L1-3 details of the underlying network
What are the services offered (or not, depending on TCP vs UDP) by L4?
- Reliable data transfer
- Error recovery
- Data sequencing
- Flow control
What is the additional addressing system provided by L4?
Port numbers
What is an L4 session?
An exchange of data between two or more communicating devices
What does the L4 destination port identify?
The application layer (L5+) protocol
Is the L4 source port assigned or randomly selected?
Randomly selected
What does the L4 source port identify?
The L4 communication session
L4 addressing helps provide session _____
multiplexing
Port numbers 0 - 1023 are _____
Well-Known
Port numbers 1024 - 49151 are _____
Registered
Port numbers 49152 - 65535 are _____
Ephemeral / private / dynamic
Well known ports fall between ports ___ - ____
0 - 1023
Registered ports fall between ports ____ - ____
1024 - 49151
Ephemeral ports fall between ports ____ - ____
49152 - 65535
Before TCP can send data to a destination host, the two hosts must do what?
Establish a connection
Does TCP or UDP provide reliability?
TCP
Does TCP or UDP provide segment sequencing?
TCP