@@ -871,7 +871,7 @@ behavior.
871871added: v0.1.90
872872changes:
873873 - version: REPLACEME
874- pr-url: REPLACEME
874+ pr-url: https://github.com/nodejs/node/pull/46790
875875 description: The default value for the autoSelectFamily option is now true.
876876 The `--enable-network-family-autoselection` has been renamed
877877 to `--network-family-autoselection`. The old name is now an
@@ -943,11 +943,11 @@ For TCP connections, available `options` are:
943943 Ignored if the ` family ` option is not ` 0 ` or if ` localAddress ` is set.
944944 Connection errors are not emitted if at least one connection succeeds.
945945 If all connections attempts fails a single ` AggregateError ` with all failed attempts is emitted.
946- ** Default:** \ [` net.getDefaultAutoSelectFamily() ` ] \ []
946+ ** Default:** [ ` net.getDefaultAutoSelectFamily() ` ] [ ]
947947* ` autoSelectFamilyAttemptTimeout ` {number}: The amount of time in milliseconds to wait
948948 for a connection attempt to finish before trying the next address when using the ` autoSelectFamily ` option.
949949 If set to a positive integer less than ` 10 ` , then the value ` 10 ` will be used instead.
950- ** Default:** \ [` net.getDefaultAutoSelectFamilyAttemptTimeout() ` ] \ []
950+ ** Default:** [ ` net.getDefaultAutoSelectFamilyAttemptTimeout() ` ] [ ]
951951
952952For [ IPC] [ ] connections, available ` options ` are:
953953
@@ -1756,6 +1756,8 @@ net.isIPv6('fhqwhgads'); // returns false
17561756[ `net.createConnection(path)` ] : #netcreateconnectionpath-connectlistener
17571757[ `net.createConnection(port, host)` ] : #netcreateconnectionport-host-connectlistener
17581758[ `net.createServer()` ] : #netcreateserveroptions-connectionlistener
1759+ [ `net.getDefaultAutoSelectFamily()` ] : #netgetdefaultautoselectfamily
1760+ [ `net.getDefaultAutoSelectFamilyAttemptTimeout()` ] : #netgetdefaultautoselectfamilyattempttimeout
17591761[ `new net.Socket(options)` ] : #new-netsocketoptions
17601762[ `readable.setEncoding()` ] : stream.md#readablesetencodingencoding
17611763[ `server.close()` ] : #serverclosecallback
0 commit comments