Layer 4
 
 
- 4: Transport layer (e.g. TCP)
- 
- end to end transport of segments
- encapsulates TCP segments in network layer packets
- adds reliability by detecting and retransmitting lost packets
- uses acknowledgements and sequence numbers to keep track of successful, out-of-order, and lost packets
- timers help differentiate between loss and delay
 
 
- UDP is much simpler: no reliability features