Deno.MulticastV4Membership

UNSTABLE: New API, yet to be vetted.

Represents membership of a IPv4 multicast group.

interface MulticastV4Membership {
leave: () => Promise<void>;
setLoopback: (loopback: boolean) => Promise<void>;
setTTL: (ttl: number) => Promise<void>;
}

§Properties

§
leave: () => Promise<void>
[src]

Leaves the multicast group.

§
setLoopback: (loopback: boolean) => Promise<void>
[src]

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

§
setTTL: (ttl: number) => Promise<void>
[src]

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