Re: [zeromq-dev] ZBeacon multiple interface support

2015-04-27 Thread Patrick Noffke
Keep in mind that on Linux an IP address is assigned to a host, not an interface. Even if you think you're adding an IP address "to an interface," an ARP request for that IP address will by default be responded to on all interfaces. There is a way to override this behavior -- refer to the arp

Re: [zeromq-dev] ZBeacon multiple interface support

2015-04-11 Thread Pieter Hintjens
On Fri, Apr 10, 2015 at 10:21 AM, Arnaud Loonstra wrote: > I'm not sure if I get what you mean but I think there exist many > networking solutions which support multiple interfaces. It's fairly simply to listen on multiple interfaces. That's not the hard thing. You can open multiple sockets and

[zeromq-dev] ZBeacon multiple interface support

2015-04-09 Thread Arnaud Loonstra
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