[zeromq-dev] ZBeacon multiple interface support
Arnaud Loonstra
arnaud at sphaero.org
Thu Apr 9 16:03:17 CEST 2015
Hi All,
I was refactoring the ZBeacon code in Pyre to start thinking about
using it on multiple interfaces. Imagine a simple laptop with a wireless
and wired NIC.
ZBeacon now tries the first interface it can get its hands on or it
tries INADDR_ANY.
To support multiple interfaces it would need to transmit the ipaddress
of the interface it is broadcasting on. Then Zyre would also need to
support multiple endpoint addresses of nodes.
I can imagine having the zyre_node class start zbeacon instances on
every interface it finds. Or have zbeacon itself open sockets on every
interface. I don't know what would be most suitable approach? Especially
with networks being plugged in and out...
Has anybody already thought this true? Any suggestions?
Rg,
Arnaud
More information about the zeromq-dev
mailing list