send method
- @override
- List<
int> data, { - SocketInfo? destination,
Sends data to the given destination.
Being UDP, this function does not wait for a response or even confirmation of a successful send and is therefore very quick and non-blocking.
Implementation
@override
void send(List<int> data, {SocketInfo? destination}) {
if (!isEnabled) return;
super.send(data, destination: destination);
}