Skip to main content
Deno.MulticastV4Membership - Deno documentation
interface Deno.MulticastV4Membership
Unstable

Represents membership of a IPv4 multicast group.

Properties

leave: () => Promise<void>

Leaves the multicast group.

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

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

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

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