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: nodejs#55245
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Jake Yuesong Li <[email protected]>
  • Loading branch information
freego555 authored Oct 5, 2024
1 parent 98788da commit 32efeea
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 32efeea

Please sign in to comment.