diff options
author | Jo-Philipp Wich <jo@mein.io> | 2025-03-06 15:15:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-06 15:15:31 +0100 |
commit | 1707cba0c618f82f82566b025fbe73e1ba176eaf (patch) | |
tree | b3212df4e5f6611cb9eb11231e5a11a0c4442068 | |
parent | 09eda50a18037a64c133687b540be7e132f655c9 (diff) | |
parent | 9dbace122d7ef911ab1b602da3239e7f7feb5ec8 (diff) |
Merge pull request #284 from nbd168/socket-reuseaddr
socket: add missing documentation for socket.listen() reuseaddr
-rw-r--r-- | lib/socket.c | 3 |
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 |