Skip to main content
SocketAddressInitOptions - node__net.d.ts - Node documentation
interface SocketAddressInitOptions

Usage in Deno

```typescript import { type SocketAddressInitOptions } from "node:node__net.d.ts"; ```

Properties

optional
address: string | undefined
The network address as either an IPv4 or IPv6 string.
optional
family: IPVersion | undefined
optional
flowlabel: number | undefined
An IPv6 flow-label used only if `family` is `'ipv6'`.
optional
port: number | undefined
An IP port.