▸Protocol notes for this page (click to expand)

SCTP (Stream Control Transmission Protocol)

What it is for

SCTP provides two functions that neither TCP nor UDP has:

· multi-streaming: one association contains several independently ordered streams, so a loss blocks only the stream it belongs to;
· multi-homing: one association is bound to several IP addresses; when one path fails it switches to another and the association stays up.

QUIC later implemented multi-streaming (more than a decade later); QUIC has no multi-homing.

Multi-homing versus QUIC connection migration

The difference is whether several paths are held at the same time:

· QUIC uses one path at a time and migrates the connection to a new address when the network changes;
· SCTP binds several addresses simultaneously, probes every path with heartbeats and switches immediately when the primary path fails, with nothing to renegotiate.

Telecom signalling uses SCTP because there a link failure must not affect the service.

Common misconceptions

SCTP is the standard choice in carrier signalling (Diameter, S1AP/NGAP) and is in daily use there; it just never spread to the public internet.

The reason it did not spread is NAT and firewalls: they handle only TCP and UDP, and a new protocol number is mostly dropped on the public internet.

Multiple streams are not multiple connections: all streams share one handshake and one congestion controller, so adding streams adds no overhead.