Skip to main content

Module tcp

Module tcp 

Source
Expand description

Plain-TCP qmux transport, reachable via the tcp:// URL scheme.

Runs the QMux wire format directly over TCP with no TLS or WebSocket framing. There is no transport encryption and no authentication, so only use this on a trusted network (loopback, a private VPC interface, etc.).

TCP has no TLS handshake, so the application protocol (the moq ALPN) is negotiated in-band: pass the offered/supported protocols and the resulting qmux::Session::protocol() is populated before connect/accept returns.

Structs§

Listener
Listens for incoming plain-TCP qmux connections on a TCP port.

Enums§

Error
Errors specific to the plain-TCP qmux transport.