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

Usage in Deno

import { Socket } from "node:net";

The string representation of the local IP family. 'IPv4' or 'IPv6'.

Type

string
Back to top