public function setHost($h) {
        $this->_host = $h;

        // clear the temporary result cache and last result
        $this->_lastResult = null;
        unset($this->_resultCache);
        $this->_resultCache = array();

        return $this;
    }
public function setHost($h) {
        $this->_host = $h;

        // clear the temporary result cache and last result
        $this->_lastResult = null;
        unset($this->_resultCache);
        $this->_resultCache = array();

        return $this;
    }
public function setHost ( $ h ) { $ this -> _host = $ h ; // clear the temporary result cache and last result $ this -> _lastResult = null ; unset ( $ this -> _resultCache ) ; $ this -> _resultCache = array ( ) ; return $ this ; }
Sets the target host for SNMP queries.

@param string $h The target host for SNMP queries.
@return \Cityware\Snmp\SNMP An instance of $this (for fluent interfaces)
Sets the target host for SNMP queries .