Closed thewilli closed 3 years ago
please consider #24 which might be a bit more straightforward and moves the code out of the function to improve readability
Does it fix the issue?
it does for me 😉 and it reduces some overhead as almost all of my 19 network interfaces were skipped
That's great! Thanks for the update. Merged and added to croc
fixed by #24
After getting the list of interfaces, interfaces not having at least one address of the configured address family are not skipped.
Sending a multicast with an IPv4 connection on an IPv6-only interface results (at least on MacOS) in a deadlock.
Additionally, you should check the interface flags if is up and if it supports multicast at all.
This issue might be the root cause of https://github.com/schollz/croc/issues/313