Skip to main content
Deno.UdpListenOptions - Deno documentation
interface Deno.UdpListenOptions
extends ListenOptions
Unstable

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

Properties

optional
reuseAddress: boolean = false

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.

optional
loopback: boolean = false

When true, sent multicast packets will be looped back to the local socket.