src/share/classes/sun/nio/ch/SocketChannelImpl.java
Print this page
rev 9687 : * * *
*** 31,40 ****
--- 31,41 ----
import java.nio.ByteBuffer;
import java.nio.channels.*;
import java.nio.channels.spi.*;
import java.util.*;
import sun.net.NetHooks;
+ import sun.net.ExtendedOptionsImpl;
/**
* An implementation of SocketChannels
*/
*** 235,244 ****
--- 236,248 ----
set.add(StandardSocketOptions.SO_LINGER);
set.add(StandardSocketOptions.TCP_NODELAY);
// additional options required by socket adaptor
set.add(StandardSocketOptions.IP_TOS);
set.add(ExtendedSocketOption.SO_OOBINLINE);
+ if (ExtendedOptionsImpl.flowSupported()) {
+ set.add(jdk.net.ExtendedSocketOptions.SO_FLOW_SLA);
+ }
return Collections.unmodifiableSet(set);
}
}
@Override