You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Set network interface for UDP beacons. If you do not set this, CZMQ will// choose an interface for you. On boxes with several interfaces you should// specify which one you want to use, or strange things can happen.// The interface may by specified by either the interface name e.g. "eth0" or// an IP address associalted with the interface e.g. "192.168.0.1"ZYRE_EXPORTvoidzyre_set_interface (zyre_t*self, constchar*value);
Note that we can specify IP address.
However, looking at the algorithm used in zyre.js, it only accepts the interface name.
My desire is, on Windows, to supply 127.0.0.1 to denote the loopback adapter 'pseudo interface'.
I'm willing to make the change & PR but wanted to clarify this.
Additionally, even if I do supply the adapter name, I run into the situation where the code fails to accept it because it is marked as 'internal'
Note the adapter is marked as private.
The code has the logic of declining to use nay with .internal being truthy.
This makes sense to me if the user did not explicitly supply an adapter (select the first public iface). But if they specify an adapter, what does it matter if it's public/private?
I'd appreciate any thoughts!
The text was updated successfully, but these errors were encountered:
I've noticed the behaviour of
iface
is, to me, surprising.From the Zyre reference implementation in C :
Note that we can specify IP address.
However, looking at the algorithm used in zyre.js, it only accepts the interface name.
My desire is, on Windows, to supply
127.0.0.1
to denote the loopback adapter 'pseudo interface'.I'm willing to make the change & PR but wanted to clarify this.
Additionally, even if I do supply the adapter name, I run into the situation where the code fails to accept it because it is marked as 'internal'
Note the adapter is marked as private.
The code has the logic of declining to use nay with
.internal
being truthy.This makes sense to me if the user did not explicitly supply an adapter (select the first public iface). But if they specify an adapter, what does it matter if it's public/private?
I'd appreciate any thoughts!
The text was updated successfully, but these errors were encountered: