[9] RFR of 8074937: ServerSocket.accept() API Descriptions should include past tense
Brian Burkhalter
brian.burkhalter at oracle.com
Thu Mar 19 18:08:36 UTC 2015
Identical verbiage is in fact also present in
http://docs.oracle.com/javase/8/docs/api/java/net/ServerSocket.html#ServerSocket-int-int-
and
http://docs.oracle.com/javase/8/docs/api/java/net/ServerSocket.html#ServerSocket-int-int-java.net.InetAddress-
To wit:
"The backlog argument is the requested maximum number of pending connections on the socket. Its exact semantics are implementation specific. In particular, an implementation may impose a maximum length or may choose to ignore the parameter altogther. The value provided should be greater than 0. If it is less than or equal to 0, then an implementation specific default will be used."
Brian
On Mar 19, 2015, at 7:47 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> In ServerSocketChannel.bind then it is documented as:
>
> * <p> The {@code backlog} parameter is the maximum number of pending
> * connections on the socket. Its exact semantics are implementation specific.
> * In particular, an implementation may impose a maximum length or may choose
> * to ignore the parameter altogether.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20150319/3b52f2e6/attachment-0001.html>
More information about the net-dev
mailing list