Skip to content

Commit ca380f0

Browse files
committed
doc: add reusePort error behavior to net module
1 parent 0457bfe commit ca380f0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/api/dgram.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ changes:
951951
port, even if another process has already bound a socket on it. Incoming
952952
datagrams are distributed to listening sockets. The option is available
953953
only on some platforms, such as Linux 3.9+, DragonFlyBSD 3.6+, FreeBSD 12.0+,
954-
Solaris 11.4, and AIX 7.2.5+. On unsupported platforms this option raises an
954+
Solaris 11.4, and AIX 7.2.5+. On unsupported platforms, this option raises
955955
an error when the socket is bound.
956956
**Default:** `false`.
957957
* `ipv6Only` {boolean} Setting `ipv6Only` to `true` will

doc/api/net.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,8 @@ changes:
558558
multiple sockets on the same host to bind to the same port. Incoming connections
559559
are distributed by the operating system to listening sockets. This option is
560560
available only on some platforms, such as Linux 3.9+, DragonFlyBSD 3.6+, FreeBSD 12.0+,
561-
Solaris 11.4, and AIX 7.2.5+. **Default:** `false`.
561+
Solaris 11.4, and AIX 7.2.5+. On unsupported platforms, this option raises
562+
an error. **Default:** `false`.
562563
* `path` {string} Will be ignored if `port` is specified. See
563564
[Identifying paths for IPC connections][].
564565
* `port` {number}

0 commit comments

Comments
 (0)