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

◆ open_endpoint

std::function<uint64_t(const Core::EndpointInfo& info)> MayaFlux::Registry::Service::NetworkService::open_endpoint

Open a network endpoint on the appropriate backend.

Parameters
infoEndpoint configuration. transport field selects the backend.
Returns
Globally unique endpoint id, or 0 on failure.

For UDP: non-blocking (bind is instant). For TCP with EndpointRole::RECEIVE (listener): non-blocking. For TCP with outbound connection: blocks until connected or timeout.

Definition at line 64 of file NetworkService.hpp.

Referenced by MayaFlux::Core::InputManager::setup_osc_bridge().