Skip to main content
Socket.prototype.autoSelectFamilyAttemptedAddresses - net - Node documentation
property Socket.prototype.autoSelectFamilyAttemptedAddresses

Usage in Deno

import { Socket } from "node:net";

This property is only present if the family autoselection algorithm is enabled in socket.connect(options) and it is an array of the addresses that have been attempted.

Each address is a string in the form of $IP:$PORT. If the connection was successful, then the last address is the one that the socket is currently connected to.

Type

string[]
Back to top