[SNMP4J] SNMP not working with TCP
Anmol Sinha
anmolinpune at yahoo.co.in
Wed Sep 21 08:43:01 CEST 2005
Hello All,
I have Sucessfully written and tested the SNMP code for UDP protocol for all versions i.e. 1, 2 & 3.
I want to have the same code to support TCP protocol also. I just replaced statement...
DefaultUdpTransportMapping dutm = new DefaultUdpTransportMapping();
with
DefaultTcpTransportMapping dutm = new DefaultTcpTransportMapping();
But on execution i get Null Pointer Exception. The code works fine for UDP.
Can someone help me, so that I know if I have missed out something or some configuration changes.
Thanks,
Anmol
---------------------------------
Yahoo! India Matrimony: Find your partner now.
More information about the SNMP4J
mailing list