Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/tellojs/src/deps.ts>dgram.Socket#dropSourceSpecificMembership

The easy to use tello library written in typescript to control your drones!
Latest
method dgram.Socket.prototype.dropSourceSpecificMembership
import { dgram } from "https://deno.land/x/tellojs@v1.2.2/src/deps.ts";
const { Socket } = dgram;

Instructs the kernel to leave a source-specific multicast channel at the given sourceAddress and groupAddress using the IP_DROP_SOURCE_MEMBERSHIP socket option. This method is automatically called by the kernel when the socket is closed or the process terminates, so most apps will never have reason to call this.

If multicastInterface is not specified, the operating system will attempt to drop membership on all valid interfaces.

Parameters

sourceAddress: string
groupAddress: string
optional
interfaceAddress: string