Re: [Jack-Devel] [PATCH 0/4] Multicast interface selection
Hi there,
I've opened a new pull request with a bit reworked interface selection and IPv6 support commits.
Interface selection: slaves could be bound only to single interface so option 'all' for them not applicable.
IPv6 - I've tried to implement the socket in most transparent way to avoid uplevel changes however there are fundamental obstacles: Multicast with IPv6 is not interoperable, hence changes in class usage are inevitable.
The major point now is that socket should be probed before usage. With unicast addresses this will happen automaticallu once sufficient information is available (address/port). With multicast we cannot rely on delayed probe hence socket should be probed as soon as we got address data - before or together with NewSocket call.
One bug in GLIBC socket implementation was revealed during the work, which resulted in patch submission to glibc upstream and ugly _workaround_ in the UnixSocket implementation. The outcome of the bug (without a kludge) will result in addressless passive probe (bind to any on localhost when no adddress was specified explicitly) using IPv4 family even when v6 is available, so the kludge just blindly reorders the result.
Other than that - you can use https://launchpad.net/~rufferson/+archive/snd if interested in testing.
The branch is under https://github.com/rufferson/jack2/tree/netjack-dev.
Regards,
Ruslan
1362344775.3350_0.ltw:2,a <20130303210603.GA14326 at ruff dot mobi>