[zeromq-dev] czmq/zbeacon - broadcast address doesn't match selected interface

Pieter Hintjens ph at imatix.com
Wed Oct 9 17:49:32 CEST 2013


On Wed, Oct 9, 2013 at 4:49 PM, Jason Ziglar <jasedit at gmail.com> wrote:

> I'm using zbeacon for service discovery, and have been noticing that the beacon doesn't always behave as expected. I'm using the zsys_set_interface() call to specify which interface to broadcast over, but according to netstat, the beacon is broadcasting over 0.0.0.0. This seems to cause the beacon to be routed differently on each machine.
>
> Is broadcasting over 0.0.0.0 expected behavior? I've got a patch that alters the behavior to what I expect. I'm not sure if I should submit it as a pull request or not though.

Sure, send a pull request. Always welcome.

-Pieter



More information about the zeromq-dev mailing list