Skip to main content
interface Deno.UdpListenOptions
implements ListenOptions

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


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.

loopback: boolean = false

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