tcpClose method

Future<void> tcpClose()

close tcp connect Only for testing

Implementation

Future<void> tcpClose() async {
  await _tcpSocket?.close();
  _setStatus(Status.disconnected);
}