Skip to main content
setDefaultAutoSelectFamilyAttemptTimeout - node__net.d.ts - Node documentation
function setDefaultAutoSelectFamilyAttemptTimeout

Usage in Deno

```typescript import { setDefaultAutoSelectFamilyAttemptTimeout } from "node:node__net.d.ts"; ```
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