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

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

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

Tells the kernel to join a source-specific multicast channel at the given sourceAddress and groupAddress, using the multicastInterface with the IP_ADD_SOURCE_MEMBERSHIP socket option. If the multicastInterface argument is not specified, the operating system will choose one interface and will add membership to it. To add membership to every available interface, call socket.addSourceSpecificMembership() multiple times, once per interface.

When called on an unbound socket, this method will implicitly bind to a random port, listening on all interfaces.

Parameters

sourceAddress: string
groupAddress: string
optional
interfaceAddress: string