public function address()
    {
        if (Validation::ip($this->_config['host'])) {
            return $this->_config['host'];
        }

        return gethostbyname($this->_config['host']);
    }
public function address()
    {
        if (Validation::ip($this->_config['host'])) {
            return $this->_config['host'];
        }

        return gethostbyname($this->_config['host']);
    }
public function address ( ) { if ( Validation :: ip ( $ this -> _config [ 'host' ] ) ) { return $ this -> _config [ 'host' ] ; } return gethostbyname ( $ this -> _config [ 'host' ] ) ; }
Get the IP address of the current connection.

@return string IP address
Get the IP address of the current connection .