Skip to main content
SocketAddress.prototype.family - net - Node documentation
property SocketAddress.prototype.family

Usage in Deno

import { SocketAddress } from "node:net";

Either `'ipv4'` or `'ipv6'`.

Type