Nov 25, 2019

// // Leave a Comment

1.2 Compare and contrast TCP and UDP protocols


 

TCP
UDP
Pros
Connection-oriented
- Multiplexing using port numbers
- Error recovery with ACK and SEQ
- Flow control using windowing
- Connection establishment and termination with SYN, ACK and FIN
- Ordered data transfer and segmentation with SEQ and windowing
Connectionless
- Multiplexing using port numbers
- Smaller header
- Less bandwidth
- Less processing cycles
- Less overhead bytes
- Faster speed

Cons
- Bigger header
- More bandwidth
- More processing cycles
- More overhead bytes
- Slower speed
- No error recovery
- No windowing
- No connection establishment/termination
- No ordered data transfer





0 comments:

Post a Comment