1#ifndef FSW_DAQ_INTERFACE_HPP
2#define FSW_DAQ_INTERFACE_HPP
detail namespace with internal helper functions
bool bindToDaqInterface(int sock, const std::string &address, const char *who)
bind() an already-created socket to address on an ephemeral port.
DaqBindResult resolveDaqBindAddress(const ::fsw::config::Config &cfg, const char *who)
Decide which local address board traffic should leave from, and log the decision.
Motorized ball valve position: raw ADC counts -> % open.
Which local NIC board traffic leaves from.
bool ok
False means the caller must abort startup: the operator asked for something impossible.
bool pinned
True when address names a real NIC.
std::string address
Address to bind.