Ende.MulticastV4Membership
interface ยท experimental
interface Ende.MulticastV4MembershipUNSTABLE: New API, yet to be vetted.
Represents membership of a IPv4 multicast group.
Requires the --unstable-net flag, or "unstable": ["net"] in
ende.json.
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.