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

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

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

@return string Host name
Get the host name of the current connection .