Ende.UdpListenOptions

interface ยท experimental

interface Ende.UdpListenOptions extends ListenOptions

UNSTABLE: New API, yet to be vetted.

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

Properties

reuseAddress

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.

Default: false

loopback

loopback?: boolean

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

Default: false