DatagramSocket can be used to send multicast datagrams but surprisingly it's not possible to set the IP_MULTICAST_IF or IP_MULTICAST_TTL socket options with its setOption method.
We should remove this artificial limitation so that DatagramSocket can be implemented on DatagramChannel. Removing this restriction will also simplify PlainDatagramSocketImpl.
We should remove this artificial limitation so that DatagramSocket can be implemented on DatagramChannel. Removing this restriction will also simplify PlainDatagramSocketImpl.
- blocks
-
JDK-8230211 Prepare DatagramSocket for alternative DatagramSocketImpl
- Resolved