private function sendPing()
    {
        $this->timeSincePingReq = time();
        $payload = chr(0xc0).chr(0x00);
        fwrite($this->socket, $payload, 2);

        $this->debugMessage("PING sent");
    }
private function sendPing()
    {
        $this->timeSincePingReq = time();
        $payload = chr(0xc0).chr(0x00);
        fwrite($this->socket, $payload, 2);

        $this->debugMessage("PING sent");
    }
private function sendPing ( ) { $ this -> timeSincePingReq = time ( ) ; $ payload = chr ( 0xc0 ) . chr ( 0x00 ) ; fwrite ( $ this -> socket , $ payload , 2 ) ; $ this -> debugMessage ( "PING sent" ) ; }
Sends PINGREQ packet to server
Sends PINGREQ packet to server