|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| using MayaFlux::Core::NetworkReceiveCallback = typedef std::function<void( uint64_t endpoint_id, const uint8_t* data, size_t size, std::string_view sender_addr)> |
Callback signature for inbound data on an endpoint.
| endpoint_id | The endpoint that received the data. |
| data | Pointer to received bytes. Valid only for the duration of the callback. |
| size | Number of bytes received. |
| sender_addr | Sender address string (IP:port for UDP, peer address for TCP, segment name for SHM). |
Definition at line 17 of file NetworkBackend.hpp.