From 9dbace122d7ef911ab1b602da3239e7f7feb5ec8 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 6 Mar 2025 15:03:33 +0100 Subject: socket: add missing documentation for socket.listen() reuseaddr Signed-off-by: Felix Fietkau --- lib/socket.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/socket.c') 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 -- cgit v1.2.3