IPv6 multicast binding (Bugs: JDK-8210493 JDK-8215294)

Alan Bateman Alan.Bateman at oracle.com
Tue Jun 18 13:20:14 UTC 2019


On 18/06/2019 13:53, Andre Naujoks wrote:
> :
> We tried the old test-code with the Java Version from Debian
> experimental and it does indeed work now on linux.
Thanks for confirming.

>
> Java on Windows still throws an Exception when trying to bind like this.
This shouldn't be a big surprise. It's very platform specific as to 
whether you can bind to a multicast address or not. From the previous 
mails then I think the only reason you were doing this on Linux is 
because IP_MULTICAST_ALL doesn't work with IPv6 sockets and you are 
getting interference on systems with multiple network interfaces.

-Alan


More information about the net-dev mailing list