Skip to main content
Address.addressType - cluster - Node documentation
property Address.addressType

Usage in Deno

import { type Address } from "node:cluster";

The addressType is one of:

  • 4 (TCPv4)
  • 6 (TCPv6)
  • -1 (Unix domain socket)
  • 'udp4' or 'udp6' (UDPv4 or UDPv6)

Type

4
| 6
| -1
| "udp4"
| "udp6"
Back to top