|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Reliable length-prefixed message transport over TCP via standalone Asio. More...
#include <TCPBackend.hpp>
Reliable length-prefixed message transport over TCP via standalone Asio.
Two endpoint modes:
Framing: every message on the wire is [uint32_t network-order length][payload]. The backend handles framing transparently. Callers send and receive complete messages, never partial streams.
Reconnection: if auto_reconnect is enabled and a connection drops, the backend transitions to RECONNECTING and schedules async_connect retries via asio::steady_timer.
All I/O is async on the shared io_context. See StreamBackend for the shared behaviour.