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

Usage in Deno

import { getDefaultAutoSelectFamily } from "node:net";
getDefaultAutoSelectFamily(): boolean

Gets the current default value of the autoSelectFamily option of socket.connect(options). The initial default value is true, unless the command line option--no-network-family-autoselection is provided.

Return Type

boolean