send method
Implementation
@override
Future<bool> send(List<int> bytes) async {
try {
// final _socket = await Socket.connect(_host, _port, timeout: _timeout);
_socket?.add(Uint8List.fromList(bytes));
await _socket?.flush();
_socket?.destroy();
return true;
} catch (e) {
return false;
}
}