The interval of the _pingResponseTimer should always be smaller than the keepAlive interval. Otherwise the keepAlive restarts the pingResponseTimer before it can finish.
Maybe the arguments to qBound were intended in a different order? Then the comment directly above would make sense.
The interval of the _pingResponseTimer should always be smaller than the keepAlive interval. Otherwise the keepAlive restarts the pingResponseTimer before it can finish.
Maybe the arguments to qBound were intended in a different order? Then the comment directly above would make sense.