mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
doc: fix initial default value of autoSelectFamily
Specify the initial default value of `autoSelectFamily` in description of `net.setDefaultAutoSelectFamily()` as specified in description of `net.getDefaultAutoSelectFamily()`. PR-URL: https://github.com/nodejs/node/pull/55245 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
This commit is contained in:
parent
98788dace6
commit
32efeea0c0
@ -1798,7 +1798,9 @@ added: v19.4.0
|
||||
|
||||
Sets the default value of the `autoSelectFamily` option of [`socket.connect(options)`][].
|
||||
|
||||
* `value` {boolean} The new default value. The initial default value is `false`.
|
||||
* `value` {boolean} The new default value.
|
||||
The initial default value is `true`, unless the command line option
|
||||
`--no-network-family-autoselection` is provided.
|
||||
|
||||
## `net.getDefaultAutoSelectFamilyAttemptTimeout()`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user