adding rsockets support into JDK
Alan.Bateman at oracle.com
Fri Nov 23 17:38:57 UTC 2018
On 23/11/2018 17:23, Chris Hegarty wrote:
> Please let’s agree to avoid dual-socket hacks at all costs. I have
> firsthand experience of this from working with older Windows platforms.
> If IPv4-mapped IPv6 address support is lacking or not on the relative-
> near horizon ( for the particular rsocket implementation being used ),
> then maybe the API factory methods should accept a `ProtocolFamily` to
> selectively create a socket of a particular family. That way both IPv6
> and IPv4 will be supported, just not in the same socket.
I think you may have mis-read my mail as I'm not suggesting we go the
two sockets route. This needs to be fixed in the rsockets module but the
timeframe on that isn't clear at this point. Yes, we could introduce
factory methods that take a protocol family like we did in
DatagramChannel (for multicast case) but it puts a burden on that usages
that we also want to avoid.
More information about the nio-dev