doc: add reusePort error behavior to net module

PR-URL: https://github.com/nodejs/node/pull/61250
Fixes: https://github.com/nodejs/node/issues/61018
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
mag123c authored and GitHub committed 2026-01-04 02:13:31 +00:00
1 parent 282d30e526
commit 650f51fe45
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -951,7 +951,7 @@ changes:
port, even if another process has already bound a socket on it. Incoming
datagrams are distributed to listening sockets. The option is available
only on some platforms, such as Linux 3.9+, DragonFlyBSD 3.6+, FreeBSD 12.0+,
Solaris 11.4, and AIX 7.2.5+. On unsupported platforms this option raises an
Solaris 11.4, and AIX 7.2.5+. On unsupported platforms, this option raises
an error when the socket is bound.
**Default:** `false`.
* `ipv6Only` {boolean} Setting `ipv6Only` to `true` will
+2 -1
View File
@@ -558,7 +558,8 @@ changes:
multiple sockets on the same host to bind to the same port. Incoming connections
are distributed by the operating system to listening sockets. This option is
available only on some platforms, such as Linux 3.9+, DragonFlyBSD 3.6+, FreeBSD 12.0+,
Solaris 11.4, and AIX 7.2.5+. **Default:** `false`.
Solaris 11.4, and AIX 7.2.5+. On unsupported platforms, this option raises
an error. **Default:** `false`.
* `path` {string} Will be ignored if `port` is specified. See
[Identifying paths for IPC connections][].
* `port` {number}