code: @Override
    public int getRemoteAddress(byte []buffer, int offset, int length)
    {
      int len = _remoteAddrLength;
  
      if (len <= 0) {
        len = _remoteAddrLength = InetAddressUtil.createIpAddress(_remoteAddrBuffer,
                                                                  _remoteAddrCharBuffer);
      }
  
      char []charBuffer = _remoteAddrCharBuffer;
  
      for (int i = len - 1; i >= 0; i--) {
        buffer[offset + i] = (byte) charBuffer[i];
      }
  
      return len;
    }
docs: Returns the remote client's inet address.