MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ FramingPolicy

enum class MayaFlux::Core::FramingPolicy : uint8_t
strong

How messages are delimited on the wire.

NONE: raw bytes, no framing. A datagram on UDP. On TCP and UDS there are no message boundaries: each read, up to read_size (64 KiB by default), is delivered as one message and a send writes its bytes as they are. LENGTH_PREFIX: a four byte big-endian size before each payload. Carries any bytes. CHUNKED: split large payloads into MTU-sized chunks with sequence numbers. Not supported by any backend yet; stream endpoints refuse it. LINE: TCP and UDS only. One LF terminated line per message, with one trailing CR accepted on receive, for text peers such as nc and socat. A payload that contains LF cannot be sent. AUTO: the transport's own. NONE on UDP and LENGTH_PREFIX on TCP and UDS.

Enumerator
NONE 
LENGTH_PREFIX 
CHUNKED 
LINE 
AUTO 

Definition at line 50 of file GlobalNetworkConfig.hpp.