code: public void setHost(String host)
          throws java.net.UnknownHostException
      {
          _addr=null;
          if (host!=null)
          {
              if (host.indexOf('/')>0)
                  host=host.substring(0,host.indexOf('/'));
              _addrIsHost=!Character.isDigit((host.charAt(0)));
              _addr=InetAddress.getByName(host);
          }
      }
docs: Set the Host.
  @param host
  @exception java.net.UnknownHostException