There are cases in the sctp coding where a function sctpHandleSocketErrorWithMessage would be beneficial (similar to existing handleSocketErrorWithMessage) to provide more detail what failed.
Additionally sctpHandleSocketErrorWithMessage was a bit modified (added errno handling for ENOTCONN from handleSocketErrorWithMessage). ------------- Commit messages: - JDK-8309340 Changes: https://git.openjdk.org/jdk/pull/14280/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14280&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8309340 Stats: 20 lines in 2 files changed: 11 ins; 2 del; 7 mod Patch: https://git.openjdk.org/jdk/pull/14280.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/14280/head:pull/14280 PR: https://git.openjdk.org/jdk/pull/14280