Looking at this again I have some questions about what should be allowed EPICS_CAS_INTF_ADDR_LIST, and show localhost should be handled.
> fail - Setting EPICS_CAS_INTF_ADDR_LIST to 127.0.0.1 does not create the listener for the loopback broadcast address
As you mention this is because loopback does not usually set IFF_BROADCAST although it can. Of course the fact that osiSockDiscoverBroadcastAddresses() explicitly ignores when IFF_LOOPBACK seems like the real problem.
I've made a change which does this, but needs testing on all non-linux except win32.
Looking at this again I have some questions about what should be allowed EPICS_CAS_ INTF_ADDR_ LIST, and show localhost should be handled.
> fail - Setting EPICS_CAS_ INTF_ADDR_ LIST to 127.0.0.1 does not create the listener for the loopback broadcast address
As you mention this is because loopback does not usually set IFF_BROADCAST although it can. Of course the fact that osiSockDiscover BroadcastAddres ses() explicitly ignores when IFF_LOOPBACK seems like the real problem.
I've made a change which does this, but needs testing on all non-linux except win32.
https:/ /github. com/mdavidsaver /epics- base/commit/ c5783e3af454bad 32a98707f7431c2 7be13c3890
> fail - Setting EPICS_CAS_ INTF_ADDR_ LIST to a broadcast address
Should this be allowed? What should it mean? My inclination is to say no.
> enh - Why not remove the limitation to the first IP address
One thing at a time :)