[SNMP4J] Problem Regarding connection

Frank Fock fock at agentpp.com
Sat Jan 2 21:11:16 CET 2010


Hi Kumar,

Try to understand the difference between local and remote
IP address and port. For UDP communication you need
both a local address and port as well as a remote
address and port.

Which values are you using for local and remote and how
do you setup them in SNMP4J?

Regards,
Frank

On 02.01.2010 09:14, kumar saurbh wrote:
> Hi all,
>
> I am trying to connect to the Some host with ipaddress and port 161 but when
> transport.listen() method gets called it goes in listen mode but after that
> the response pdu is null.
>
> can u guys give me one example to connect with some host having details like
> ipaddress,port and community string and snmp version. Plz send this to my id
> saurabh1073 at gmail.com
>
> Thanks in advance.
>
> Thanks&  Regards
> Kumar Saurabh
>
>
>

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




More information about the SNMP4J mailing list