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 targos committed Oct 5, 2024
1 parent d7b73bb commit 8eae0d3
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 @@ -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()`

Expand Down

0 comments on commit 8eae0d3

Please sign in to comment.