Ende.MulticastV4Membership

interface ยท experimental

interface Ende.MulticastV4Membership

UNSTABLE: New API, yet to be vetted.

Represents membership of a IPv4 multicast group.

Properties

leave

leave: () => Promise<void>

Leaves the multicast group.

setLoopback

setLoopback: (loopback: boolean) => Promise<void>

Sets the multicast loopback option. If enabled, multicast packets will be looped back to the local socket.

setTTL

setTTL: (ttl: number) => Promise<void>

Sets the time-to-live of outgoing multicast packets for this socket.