Skip to main content
SocketAddress - net - Node documentation
class SocketAddress

Usage in Deno

import { SocketAddress } from "node:net";

Constructors

new
SocketAddress(options: SocketAddressInitOptions)

Properties

readonly
address: string

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

readonly
family: IPVersion

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

readonly
flowlabel: number
readonly
port: number
Back to top