Skip to main content
setDefaultAutoSelectFamilyAttemptTimeout - net - Node documentation
function setDefaultAutoSelectFamilyAttemptTimeout

Usage in Deno

import { setDefaultAutoSelectFamilyAttemptTimeout } from "node:net";
setDefaultAutoSelectFamilyAttemptTimeout(value: number): void

Sets the default value of the autoSelectFamilyAttemptTimeout option of socket.connect(options).

Parameters

value: number

The new default value, which must be a positive number. If the number is less than 10, the value 10 is used instead. The initial default value is 250 or the value specified via the command line option --network-family-autoselection-attempt-timeout.

Return Type

void
Back to top