Open Freundschaft opened 7 years ago
Are you specifying a value for address
? This is the bind address used here which is just a call to Node's udp bind()
method.
If no address is specified then it by default uses 0.0.0.0 which apparently should bind to all interfaces. I've not tested it though. So, I would expect that you should be able to specify no value for address
and it should just work. Is the broadcast/mutlicast destination address valid for the subnets of each interface?
with specification of the bind address it works, unfortunately binding to all interfaces did not work for us, and bound to only one interface, and it was unclear based on which criterion this interface was selected the bc/mc address was valid for each interface
how can I set on which interface the advertise packets should be sent out while using .advertise()? Currently it seems that node-discover uses only one of the available network interfaces in a multi network interface scenario. did I miss something or is binding to a specific interface not available?