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

Reliable length-prefixed message transport over Unix domain sockets. More...

#include <UDSBackend.hpp>

Collaboration diagram for UDSBackend:

Detailed Description

Reliable length-prefixed message transport over Unix domain sockets.

The same-machine counterpart of TCPBackend: one socket path is one endpoint, with the same framing, listener and connection model, reconnection and accepted-connection announcements. See StreamBackend for the shared behaviour and UdsTransport for how a path is resolved and secured.

EndpointInfo server;
server.role = EndpointRole::RECEIVE;
server.local_path = "mayaflux-control.sock";
auto listen_id = uds.open_endpoint(server);
EndpointInfo client;
client.role = EndpointRole::BIDIRECTIONAL;
client.remote_path = "mayaflux-control.sock";
auto ep_id = uds.open_endpoint(client);

The documentation for this class was generated from the following file: