summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lib/socket.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/socket.c b/lib/socket.c
index 70c7299..ebb7649 100644
--- a/lib/socket.c
+++ b/lib/socket.c
@@ -2949,6 +2949,9 @@ out:
* @param {number} [backlog=128]
* The maximum length of the queue of pending connections.
*
+ * @param {boolean} [reuseaddr]
+ * Whether to set the SO_REUSEADDR option before calling bind().
+ *
* @returns {module:socket.socket}
*
* @example