[SNMP4J] About UnknownHostException at TransportIpAddress class

Nídia S. Campos nidiascampos at gmail.com
Thu Sep 21 17:07:58 CEST 2006


Hi,
The follow code creates a java.net.UnknownHostException, but I think that
this kind of address is ok....

        TransportIpAddress transportIpAddress = new TcpAddress();

        try {
            transportIpAddress.setTransportAddress(new OctetString("
200.129.46.39/161"));
        } catch (UnknownHostException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }


May someone heelp me, please?

Best regards,
Nídia



More information about the SNMP4J mailing list