Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.unstable.d.ts>Deno.UdpListenOptions

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Deno.UdpListenOptions
implements ListenOptions
import { type Deno } from "https://deno.land/x/deno@v1.28.3/cli/tsc/dts/lib.deno.unstable.d.ts";
const { UdpListenOptions } = Deno;

UNSTABLE: New API, yet to be vetted.

Unstable options which can be set when opening a datagram listener via Deno.listenDatagram.

Properties

optional
reuseAddress: boolean

When true the specified address will be reused, even if another process has already bound a socket on it. This effectively steals the socket from the listener.

Defaults to false.