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

◆ send

std::function<bool(uint64_t endpoint_id, const uint8_t* data, size_t size)> MayaFlux::Registry::Service::NetworkService::send

Send data through an endpoint.

Parameters
endpoint_idTarget endpoint.
dataPayload bytes.
sizePayload size.
Returns
true if the send was accepted.

For UDP: non-blocking sendto(). For TCP: may block briefly if kernel send buffer is full.

Definition at line 98 of file NetworkService.hpp.

Referenced by MayaFlux::Portal::Network::NetworkSink::send().