On 10/09/18 15:35, Chris Hegarty wrote:
... Maybe the native implementation of these methods can be updated to accept a scope, rather than poking around in the InetSocketAddress from JNI code.
Rolling back on this comment. I overlooked the fact that the additional checks are multicast-specific, IN6_IS_ADDR_MC_NODELOCAL and IN6_IS_ADDR_MC_LINKLOCAL. Given this, I am less concerned about the proposed patch. -Chris.