|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
|
overridevirtual |
Send data through an endpoint.
| endpoint_id | Target endpoint. |
| data | Pointer to payload bytes. |
| size | Payload size in bytes. |
For UDP: sends a single datagram via sendto(). Non-blocking. For TCP: writes framed message. May block briefly if kernel send buffer is full. For SHM: writes into the shared segment.
Implements MayaFlux::Core::INetworkBackend.
Definition at line 186 of file UDPBackend.cpp.
References MayaFlux::Journal::Core, m_endpoints, m_endpoints_mutex, MF_WARN, MayaFlux::Journal::NetworkBackend, and size.