< prev index next >
src/java.base/share/classes/sun/nio/ch/DatagramChannelImpl.java
Print this page
*** 304,313 ****
--- 304,316 ----
set.add(StandardSocketOptions.IP_MULTICAST_TTL);
set.add(StandardSocketOptions.IP_MULTICAST_LOOP);
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 >