Skip to content

Commit 69c21a6

Browse files
lpincamarco-ippolito
authored andcommittedMay 3, 2024
doc: replace U+00A0 with U+0020
Replace NO-BREAK SPACE (U+00A0) with SPACE (U+0020) in `doc/api/net.md`. PR-URL: #52590 Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
1 parent 5df34c7 commit 69c21a6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎doc/api/net.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ added: v20.12.0
715715
* `ip` {string} The IP which the socket attempted to connect to.
716716
* `port` {number} The port which the socket attempted to connect to.
717717
* `family` {number} The family of the IP. It can be `6` for IPv6 or `4` for IPv4.
718-
\* `error` {Error} The error associated with the failure.
718+
* `error` {Error} The error associated with the failure.
719719

720720
Emitted when a connection attempt failed. This may be emitted multiple times
721721
if the family autoselection algorithm is enabled in [`socket.connect(options)`][].
@@ -1710,7 +1710,7 @@ nc -U /tmp/echo.sock
17101710
added: v19.4.0
17111711
-->
17121712

1713-
Gets the current default value of the `autoSelectFamily` option of [`socket.connect(options)`][].
1713+
Gets the current default value of the `autoSelectFamily` option of [`socket.connect(options)`][].
17141714
The initial default value is `true`, unless the command line option
17151715
`--no-network-family-autoselection` is provided.
17161716

@@ -1722,17 +1722,17 @@ The initial default value is `true`, unless the command line option
17221722
added: v19.4.0
17231723
-->
17241724

1725-
Sets the default value of the `autoSelectFamily` option of [`socket.connect(options)`][].
1725+
Sets the default value of the `autoSelectFamily` option of [`socket.connect(options)`][].
17261726

1727-
* `value` {boolean} The new default value. The initial default value is `false`.
1727+
* `value` {boolean} The new default value. The initial default value is `false`.
17281728

17291729
## `net.getDefaultAutoSelectFamilyAttemptTimeout()`
17301730

17311731
<!-- YAML
17321732
added: v19.8.0
17331733
-->
17341734

1735-
Gets the current default value of the `autoSelectFamilyAttemptTimeout` option of [`socket.connect(options)`][].
1735+
Gets the current default value of the `autoSelectFamilyAttemptTimeout` option of [`socket.connect(options)`][].
17361736
The initial default value is `250` or the value specified via the command line
17371737
option `--network-family-autoselection-attempt-timeout`.
17381738

@@ -1744,9 +1744,9 @@ option `--network-family-autoselection-attempt-timeout`.
17441744
added: v19.8.0
17451745
-->
17461746

1747-
Sets the default value of the `autoSelectFamilyAttemptTimeout` option of [`socket.connect(options)`][].
1747+
Sets the default value of the `autoSelectFamilyAttemptTimeout` option of [`socket.connect(options)`][].
17481748

1749-
* `value` {number} The new default value, which must be a positive number. If the number is less than `10`,
1749+
* `value` {number} The new default value, which must be a positive number. If the number is less than `10`,
17501750
the value `10` is used instead. The initial default value is `250` or the value specified via the command line
17511751
option `--network-family-autoselection-attempt-timeout`.
17521752

0 commit comments

Comments
 (0)
Please sign in to comment.