TCP we understand much more, so today we stand UDP perspective, explore different from UDP TCP features.
1. connectionless
UDP is much simpler than TCP, no "three-way handshake" to establish a connection, sent directly to the content.
2. Data unreliability
UDP does not verify data packets without flow control, so the data may be distorted, or packet loss.
3. efficiency
UDP header overhead is small, only 8 bytes, whereas TCP requires 20 bytes.
UDP does not need to ensure that data is not lost and orderly, and TCP needs.
Therefore, UDP performance will be higher.
4. Transfer diverse
UDP supports more than one mode of transmission, also supports many, many to many, many to one way, while TCP can only support one-way transmission.