Home / cs-notes / Network / Problems / TCP vs UDP
- TCP
- Connection-based
- Stream oriented
- Reliable
- Sequence Number
- Acknowledge
- Re-send if lost
- Reassemble if out of sequence
- Acknowledge
- Sequence Number
- UDP
- Connectionless
- Message (/ Datagram / Packet) oriented
- Unreliable
- no guarantee of
- reaching
- sequence keeping
- but faster
- no guarantee of