private function sendDisconnect()
    {
        if(!$this->socket || feof($this->socket))
            return;

        $payload = chr(0xe0).chr(0x00);
        fwrite($this->socket, $payload, 2);

        $this->debugMessage("DISCONNECT sent");
    }
private function sendDisconnect()
    {
        if(!$this->socket || feof($this->socket))
            return;

        $payload = chr(0xe0).chr(0x00);
        fwrite($this->socket, $payload, 2);

        $this->debugMessage("DISCONNECT sent");
    }
private function sendDisconnect ( ) { if ( ! $ this -> socket || feof ( $ this -> socket ) ) return ; $ payload = chr ( 0xe0 ) . chr ( 0x00 ) ; fwrite ( $ this -> socket , $ payload , 2 ) ; $ this -> debugMessage ( "DISCONNECT sent" ) ; }
Sends DISCONNECT packet to server
Sends DISCONNECT packet to server