Transport Layer Flashcards
What is the relation between Transport Layer and Application Layer
Transport Layer provides services to the application layer
What is the relation between Transport Layer and Network Layer?
Transport Layer uses services to the Network Layer
What does transport layer do?
provide logical communication between app processes running on different hosts. Breaks app messages into segments
What is multiplexing?
handle data from multiple sockets, add transport header
What is demultiplexing?
use header info to deliver received segments to correct socket
Explain how demultiplexing works?
Host received IP datagrams, each datagram has destination and source IP address. Each segment has port. Use IP addresses and port to
Is the segment of UDP dependent on other segments?
No
Why one should use UDP?
Fast and simple
Explain actions of sender and receiver in rdt1.0
Wait for call from above and do the operations
What is the difference between rdt1.0 and rdt2.0?
RDT2.0 has checksum to check for errors, and acknowledgments to recover from errors
How one recovers from bit errors?
Acknowledgments
What are the actions of sender and receiver in rdt2.0
Sender: Send, do the operations and wait for the acknowledgments. If NAK, resend
Receiver: if received packet is corrupt, send NAK
What is wrong with NAK?
Could be lost and the system could never knew if the packet was lost or delayed
Why was sequence number added?
Possible way to solve problem of corrupted ACK/NAK
What is the difference between rdt2.0 and rdt2.1
Sequence number is added
What is the difference between rdt2.1 and rdt2.2
2.2 is NAK-free
What is the difference between rdt2.2 and rdt3.0
3.0 has countdown timer
Calculate utilization_sender of rdt3.0. 1 Gbps link, 10 ms prop. delay, 8000 bit packet. 3000km distance
0.00039
How does pipelining improve? If 3 bits were sent from sender? Give examples of existing pipelining protocols?
Improves the utilization almost three times. Go-back-N and selective repeat
Understand Go-back-N
?done?
Understand Selective Repeat
?done?