On this page

    M

    net.getDefaultAutoSelectFamily

    History
    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.

    Returns:boolean
    The current default value of the autoSelectFamily option.