TCP and UDP: what is the difference?

TCP establishes connections and provides ordered, reliable delivery. Connection state and connection establishment consume resources as well as the transferred bytes.

UDP sends independent datagrams without a transport-level connection or delivery guarantee. Applications build their own reliability when needed. DNS, games and real-time communication commonly use UDP; HTTP/3 uses QUIC over UDP.

A port identifies a service endpoint. On JustStats, the displayed L4 endpoints use TCP port 22 and UDP port 53. A displayed port does not mean that every packet in a server’s traffic graph was sent to that port.

Dstat news