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

◆ send_to

std::function<bool(uint64_t endpoint_id, const uint8_t* data, size_t size, const std::string& address, uint16_t port)> MayaFlux::Registry::Service::NetworkService::send_to

Send data to a specific address through an endpoint.

Parameters
endpoint_idSource endpoint.
dataPayload bytes.
sizePayload size.
addressTarget address.
portTarget port.
Returns
true if the send was accepted.

Primary use: UDP. TCP ignores address/port, uses connected peer.

Definition at line 113 of file NetworkService.hpp.

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