Deno.UdpListenOptions

UNSTABLE: New API, yet to be vetted.

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

interface UdpListenOptions extends ListenOptions {
loopback?: boolean;
reuseAddress?: boolean;
}

§Extends

§Properties

§
loopback?: boolean
[src]

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

§
reuseAddress?: boolean
[src]

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.