[SNMP4J] Help on SNMP Trap Receiver

vikram shetty vikramganiga at gmail.com
Fri Oct 17 08:10:07 CEST 2008


Hi ,

    UdpAddress portid = new UdpAddress(162);
    DefaultUdpTransportMapping transport = new
DefaultUdpTransportMapping(portid);
    Snmp snmp = new Snmp(transport);
    snmp.listen()

   In above part of the code , how  can we make snmp.listen() continuously
listen a UDP port( here it is 162) or What is missing to listen a port
continuously.

   This is one of requirement of while implementing SNMP Trap Receiver by
using SNMP4j API , because trap receiver need to be continuously listen a
port and receive a traps or messages.

Thanks,
Vikram Shetty,
 +91-9819676198



More information about the SNMP4J mailing list