< prev index next >
src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java
Print this page
*** 240,249 ****
--- 240,252 ----
set.add(StandardSocketOptions.IP_TOS);
set.add(ExtendedSocketOption.SO_OOBINLINE);
if (ExtendedOptionsImpl.flowSupported()) {
set.add(jdk.net.ExtendedSocketOptions.SO_FLOW_SLA);
}
+ if (ExtendedOptionsImpl.reuseportSupported()) {
+ set.add(jdk.net.ExtendedSocketOptions.SO_REUSEPORT);
+ }
return Collections.unmodifiableSet(set);
}
}
@Override
< prev index next >