Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

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

Sets or clears the SO_BROADCAST socket option. When set to true, UDP packets may be sent to a local interface's broadcast address.

This method throws EBADF if called on an unbound socket.

Parameters

arg: boolean