The extended socket option mechanism doesn't distinguish between socket options for connecting sockets vs. listening sockets. This means that ServerSocket's supportedOptions() returns socket options that aren't suitable for listening sockets. This should be examined to see if it's worth filtering the socket options so that listening sockets (ServerSocket and ServerSocketChannel) don't claim to support socket options that aren't suitable for listening sockets.
- relates to
-
JDK-8036681 Ability to set TOS in IPv6/non blocking IO/TOS field prior to binding socket
-
- Closed
-