|
On 4/13/26 7:58 AM, Érico Nogueira
Rolim via Tech-talk wrote:
... does
PVXS support dynamic discovery of network interfaces?
In part, for some configurations. Enough for my laptop to roam
and have pvxmonitor reconnect when I get home. Interface
(re)discovery is there[1]. However, at present auto-address list
expansion[2] only happens once at server or client creation. So
the list of UDP broadcast addresses is the practical limitation.
Binding to specific interface addresses is of course also a
problem (IP_FREEBIND is not portable).
[1] the IfaceMap API is backed by a worker thread which
periodically polls interface info.
https
://github.com/epics-base/pvxs/blob/1d481d5be1db1e1bcc934c82a8bcec162c3ac31f/src/evhelper.h#L306
[2] expandAddrList() https
://github.com/epics-base/pvxs/blob/1d481d5be1db1e1bcc934c82a8bcec162c3ac31f/src/config.cpp#L284
|