--- old/src/java.base/share/classes/jdk/net/ExtendedSocketOptions.java 2016-02-24 13:34:27.808280905 +0530 +++ new/src/java.base/share/classes/jdk/net/ExtendedSocketOptions.java 2016-02-24 13:34:27.688280903 +0530 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -58,4 +58,31 @@ */ public static final SocketOption SO_FLOW_SLA = new ExtSocketOption("SO_FLOW_SLA", SocketFlow.class); + + /** + * SO_QUICKACK. + * + *

+ * The value of this socket option is a {@code Boolean} that represents + * whether the option is enabled or disabled. The exact semantics of this + * socket option are socket type and system dependent. + * + *

+ * This socket option usually enable TCP_QUICKACK mode if set or disable + * TCP_QUICKACK mode if cleared. + * + *

+ * In TCP_QUICKACK mode, acks are sent immediately, rather than delayed if + * needed in accordance to normal TCP operation.This flag is not permanent, + * it only enables a switch to or from TCP_QUICKACK mode. + * + *

+ * Subsequent operation of the TCP protocol will once again enter/leave + * TCP_QUICKACK mode depending on internal protocol processing and factors + * such as delayed ack timeouts occurring and data transfer. + * + * @since 9 + */ + public static final SocketOption SO_QUICKACK + = new ExtSocketOption("SO_QUICKACK", Boolean.class); }