@@ -715,7 +715,7 @@ added: v20.12.0
715
715
* ` ip ` {string} The IP which the socket attempted to connect to.
716
716
* ` port ` {number} The port which the socket attempted to connect to.
717
717
* ` 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.
719
719
720
720
Emitted when a connection attempt failed. This may be emitted multiple times
721
721
if the family autoselection algorithm is enabled in [ ` socket.connect(options) ` ] [ ] .
@@ -1710,7 +1710,7 @@ nc -U /tmp/echo.sock
1710
1710
added: v19.4.0
1711
1711
-->
1712
1712
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) ` ] [ ] .
1714
1714
The initial default value is ` true ` , unless the command line option
1715
1715
` --no-network-family-autoselection ` is provided.
1716
1716
@@ -1722,17 +1722,17 @@ The initial default value is `true`, unless the command line option
1722
1722
added: v19.4.0
1723
1723
-->
1724
1724
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) ` ] [ ] .
1726
1726
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 ` .
1728
1728
1729
1729
## ` net.getDefaultAutoSelectFamilyAttemptTimeout() `
1730
1730
1731
1731
<!-- YAML
1732
1732
added: v19.8.0
1733
1733
-->
1734
1734
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) ` ] [ ] .
1736
1736
The initial default value is ` 250 ` or the value specified via the command line
1737
1737
option ` --network-family-autoselection-attempt-timeout ` .
1738
1738
@@ -1744,9 +1744,9 @@ option `--network-family-autoselection-attempt-timeout`.
1744
1744
added: v19.8.0
1745
1745
-->
1746
1746
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) ` ] [ ] .
1748
1748
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 ` ,
1750
1750
the value ` 10 ` is used instead. The initial default value is ` 250 ` or the value specified via the command line
1751
1751
option ` --network-family-autoselection-attempt-timeout ` .
1752
1752
0 commit comments