Skip to content

Commit

Permalink
doc: fix initial default value of autoSelectFamily
Browse files Browse the repository at this point in the history
Specify the initial default value of `autoSelectFamily`
in description of `net.setDefaultAutoSelectFamily()`
as specified in description of `net.getDefaultAutoSelectFamily()`.

PR-URL: #55245
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
  • Loading branch information
freego555 authored and marco-ippolito committed Nov 17, 2024
1 parent 8b8d35f commit 27564b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -1779,7 +1779,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()`

Expand Down

0 comments on commit 27564b7

Please sign in to comment.