Skip to main content
SocketOptions - node__dgram.d.ts - Node documentation
interface SocketOptions
extends Abortable

Usage in Deno

```typescript import { type SocketOptions } from "node:node__dgram.d.ts"; ```

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