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

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

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

A synchronous function that disassociates a connected dgram.Socket from its remote address. Trying to call disconnect() on an unbound or already disconnected socket will result in an ERR_SOCKET_DGRAM_NOT_CONNECTED exception.