UDP 是 User Datagram Protocol(用户数据报协议) 的缩写,一种互联网传输层协议。它以“尽力而为”的方式发送数据包:不建立连接、不保证到达、不保证顺序,但通常具有低延迟、开销小的特点,常用于实时音视频、在线游戏、DNS 等场景。(在不同语境下也可能有其他缩写含义,但最常见的是该网络协议。)
/ˌjuː diː ˈpiː/
We use UDP for voice chat to keep latency low.
我们用 UDP 做语音聊天,以保持低延迟。
Although UDP doesn’t guarantee delivery, many streaming apps add their own error correction on top of it to balance speed and reliability.
尽管 UDP 不保证送达,许多流媒体应用会在其之上加入自定义的纠错机制,以在速度与可靠性之间取得平衡。
UDP 来自其全称 User Datagram Protocol: