Chapter 6 Flashcards
What is the primary function of the transport layer?
Hide details of network from above layers
How do you identify processes?
Number them in the header
What does reliability mean?
Communication shouldnt fail. If it fails, communication parties should know it has failed
Which protocol provides unreliable transport layer?
UDP ( User Datagram Protocol )
Which protocol provides a reliable transport layer?
TCP ( Transmission Control Protocol )
What is the new transport layer protocol?
QUIC
Reliable protocols are ……..-oriented
connection
What does connection-oriented mean?
Establish connection and use that connection then terminate that connection
How do you establish a reliable connection?
3-way handshake
How does TCP’s 3 way handshake look like?
A: SYN (SYN = synchronise)
b: SYN + ACK
A: ACK
How does a termination TCP handshake look like?
A: FIN
b: FIN + ACK
A: ACK
What are the different flow control algorithms?
Stop-and-wait
Sliding window
Unrestricted flow
How does the Stop-and-wait algorithm work?
Wait for ACK message, If received send next message. If not received within time-out resend + reset time-out counter
Problem with Stop-and-wait algorithm?
Very inefficient
What is the sliding window algorithm?
Its a window that represents messages sent by sender but not yet confirmed
How does sliding window handle lost messages?
Selective repeat ( only retransmit lost messages )
Go-Back-N ( all unacknowledged messages are retransmitted starting from the lost message)
What is the most efficient way to handle lost messages with sliding window?
Selective repeat
How does the unrestricted flow algorithm work?
No flow control ( unrestricted )
How many timers does a ARQ sliding window need?
2: retransmission + acknowledgment
What does ARQ stand for?
Automatic Repeat Request
What should happen when an ARQ retransmission timer expires?
Re transmit the packet
What does a ARQ acknowledgment timer indicate?
How much time is left before the packet has to be acknowledged ( allows piggybacking of data )
What algorithms are examples of ARQ algorithms?
Stop and wait + sliding window
How are transport errors caused?
By over congesting the network