Skip to main content
Socket.prototype.autoSelectFamilyAttemptedAddresses - node__net.d.ts - Node documentation
property Socket.prototype.autoSelectFamilyAttemptedAddresses

Usage in Deno

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