Relates :
|
|
Relates :
|
|
Relates :
|
Two Solaris issues with Multicast sockets which seem to arise when IPv6 is enabled but a number of interfaces do not have a normal IPv6 address assigned. Instead the system reports that each interface has the address ::0 assigned. 1. First issue is that MulticastSocket.getInterface() uses NetworkInterface.getByInetAddress() to retrieve the interface from the socket's multicast interface address. If that address is ::0 then this logic is broken because there can be multiple interfaces with ::0 assigned. Solution is to cycle through all interfaces looking for the socket's multicast interface address. 2. IPv6 multicasting does not work on Solaris unless the network interface used has a normal IPv6 address assigned (other than ::0). A number of tests need to be changed to check for ::0 before choosing to use IPv6 for the test.