public function ping() { $now = microtime(true); $this->waitCommand('ping', [(string) $now]); return microtime(true) - $now; }