Skip to main content

UdpListenOptions

interface Deno.UdpListenOptions
unstable

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

Properties Jump to heading

optional
Jump to headingreuseAddress: 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
Jump to headingloopback: boolean = false

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

Back to top