tryingToConnect method

void tryingToConnect()

set trying to connect

Implementation

void tryingToConnect() {
  lastConnectTry = DateTime.now().millisecondsSinceEpoch ~/ 1000;
  connecting = true;
}