public function close()
    {
        if ($this->_socket === false) {
            $this->_error = 'not connected';

            return false;
        }

        fclose($this->_socket);
        $this->_socket = false;

        return true;
    }
public function close()
    {
        if ($this->_socket === false) {
            $this->_error = 'not connected';

            return false;
        }

        fclose($this->_socket);
        $this->_socket = false;

        return true;
    }
public function close ( ) { if ( $ this -> _socket === false ) { $ this -> _error = 'not connected' ; return false ; } fclose ( $ this -> _socket ) ; $ this -> _socket = false ; return true ; }
Closes the connection to searchd.

@return bool
Closes the connection to searchd .