[zeromq-dev] czmq:zbeacon outgoing interface / broadcast routes / multiple interfaces
Pieter Hintjens
ph at imatix.com
Fri Apr 12 22:42:57 CEST 2013
On Fri, Apr 12, 2013 at 6:03 PM, Joe Pulver <jpulver at gmail.com> wrote:
> I'd like to use zbeacon as a discovery service. My devices (Linux) have
> multiple interfaces (wired and wireless) and I would like to send beacons
> out both interfaces.
I think overwriting the broadcast address is a bug. It does all the
work of fetching the broadcast address, and then throws it away.
Multiple interfaces makes sense. I think it has to be hidden from
applications since interfaces can come and go, and we don't want apps
to be making these non-portable system calls to figure out what
interfaces exist.
The code will need to collect all interfaces that have broadcast
capability, and send out on each one. We should not need to change the
code for incoming beacons, I think.
Do you want to give that change a try?
-Pieter
More information about the zeromq-dev
mailing list