From d3569b623ccd593c9ef62fcaf0aba2711dc7fbfa Mon Sep 17 00:00:00 2001 From: James M Snell Date: Mon, 5 Feb 2018 21:55:16 -0800 Subject: doc: remove **Note:** tags Remove the various **Note:** prefixes throughout the docs. PR-URL: https://github.com/nodejs/node/pull/18592 Reviewed-By: Rich Trott Reviewed-By: Daniel Bevenius Reviewed-By: Colin Ihrig Reviewed-By: Ruben Bridgewater Reviewed-By: Michael Dawson --- doc/api/net.md | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'doc/api/net.md') diff --git a/doc/api/net.md b/doc/api/net.md index b213829ffd..6e2b7386b3 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -194,14 +194,11 @@ length of the queue of pending connections. The actual length will be determined by the OS through sysctl settings such as `tcp_max_syn_backlog` and `somaxconn` on Linux. The default value of this parameter is 511 (not 512). +All [`net.Socket`][] are set to `SO_REUSEADDR` (See [socket(7)][] for details). -*Note*: - -* All [`net.Socket`][] are set to `SO_REUSEADDR` (See [socket(7)][] for - details). -* The `server.listen()` method can be called again if and only if there was an error - during the first `server.listen()` call or `server.close()` has been called. - Otherwise, an `ERR_SERVER_ALREADY_LISTEN` error will be thrown. +The `server.listen()` method can be called again if and only if there was an error +during the first `server.listen()` call or `server.close()` has been called. +Otherwise, an `ERR_SERVER_ALREADY_LISTEN` error will be thrown. One of the most common errors raised when listening is `EADDRINUSE`. This happens when another server is already listening on the requested @@ -237,7 +234,7 @@ The `handle` object can be either a server, a socket (anything with an underlying `_handle` member), or an object with an `fd` member that is a valid file descriptor. -*Note*: Listening on a file descriptor is not supported on Windows. +Listening on a file descriptor is not supported on Windows. #### server.listen(options[, callback])