public function getRemoteIp()
    {
        $pos = strrpos($this->_remoteAddress, ':');
        if ($pos) {
            return substr($this->_remoteAddress, 0, $pos);
        }
        return '';
    }
public function getRemoteIp()
    {
        $pos = strrpos($this->_remoteAddress, ':');
        if ($pos) {
            return substr($this->_remoteAddress, 0, $pos);
        }
        return '';
    }
public function getRemoteIp ( ) { $ pos = strrpos ( $ this -> _remoteAddress , ':' ) ; if ( $ pos ) { return substr ( $ this -> _remoteAddress , 0 , $ pos ) ; } return '' ; }
Get remote IP.

@return string
Get remote IP .