Skip to main content
SocketOptions - dgram - Node documentation
interface SocketOptions
extends Abortable

Usage in Deno

import { type SocketOptions } from "node:dgram";

Properties

optional
reuseAddr: boolean | undefined
optional
ipv6Only: boolean | undefined
optional
recvBufferSize: number | undefined
optional
sendBufferSize: number | undefined
optional
lookup: ((
hostname: string,
options: dns.LookupOneOptions,
callback: (
err: ErrnoException | null,
address: string,
family: number,
) => void
,
) => void) | undefined