Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/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.0/cli/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.