summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2025-03-06 15:03:33 +0100
committerFelix Fietkau <nbd@nbd.name>2025-03-06 15:03:56 +0100
commit9dbace122d7ef911ab1b602da3239e7f7feb5ec8 (patch)
treeaf8c5029078fd9b12c6234217acfff003ba3b777
parent48bf272b9d5021ab79b64be169aaf2ffafa8d100 (diff)
socket: add missing documentation for socket.listen() reuseaddr
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-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