RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

Alan Bateman alanb at openjdk.java.net
Wed May 26 15:01:18 UTC 2021

On Wed, 26 May 2021 14:51:00 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> How can I get to know if the socket(IPPROTO_SCTP) or setsockopt(IPPROTO_SCTP/SCTP_EVENTS) is failing?

`strace -f` should help, or just add trace message. If socket(IPPROTO_SCTP) is failing then it suggests to me that we are missing the check for ENOPROTO.


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

More information about the net-dev mailing list