[SNMP4J] Need Help

Frank Fock fock at agentpp.com
Wed Feb 15 23:47:11 CET 2006


Hello Vaibhav,

You cannot communicate with an IP address. You need
a communication end point - a port. So just use
UdpAddress instead IpAdddress and it will work.

Regards,
Frank

Vaibhav Rane wrote:
> Hello Guys,
> 
>                I am trying to learn the SNMP api ...... i have written a 
> simple code which throws the following exception when executed.
> 
> org.snmp4j.transport.UnsupportedAddressClassException: Unsupported 
> address class (transport mapping): org.snmp4j.smi.IpAddress
> 
> I refered the docs and found out that the target exception is not 
> supported by the entity to send the message.
> 
> My first question is .... can i get a link where the basic logic of the 
> api can be learned.
> Second question .....  how can i solve the above problem ... :)
> 
> Thank You very much in advance for any kind of support extended.
> 
> Regards,
> Vaibhav
> 
> _________________________________________________________________
> How good are you in a Formula One car? Play now 
> http://server1.msn.co.in/sp05/tataracing/onlinegame.asp
> 
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list