RFR: 8267938: (sctp) SCTP channel factory methods should check platform support

Chris Hegarty chegar at openjdk.java.net
Fri May 28 14:45:05 UTC 2021

On Fri, 28 May 2021 14:31:56 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> EPROTONOSUPPORT and ESOCKTNOSUPPORT are subtly different and I don't know if ESOCKTNOSUPPORT is possible. Checking both errors is okay/harmless so I think this change is okay.

ESOCKTNOSUPPORT is the reported error for SOCK_SEQPACKET (SctpMultiChannel), when the kernel SCTP module is not present.


PR: https://git.openjdk.java.net/jdk/pull/4246

More information about the net-dev mailing list