Open TimoteusRuotsalainen opened 1 year ago
Hi @TimoteusRuotsalainen, I like your proposed implementation better than #7. Would you prepare a PR that would fix #6 and this issue? I promise to review it and we can merge it asap. Thanks!
Is there any preference in how the default is treated? I think one option could be to keep the current functionality and only bind if the the Client is called with a ip address.
I think best is to make a non-breaking change, so please consider keeping the current behaviour if no specific interface is requested for binding.
Currently the client sends multicast on the first interface. If the computer has multiple network cards then it would be good to be able to specify which one is used.
Here is an implementation for setting the interface
Is there any preference in how the default is treated? I think one option could be to keep the current functionality and only bind if the the Client is called with a ip address.
There is a pull request for server that implements similar functionality https://github.com/hhromic/e131-node/pull/7/files