1. 参考
You need to extend DefaultUDPTransportMapping to set the socket option "setReuseAddress(true);" before calling Snmp.listen(). Alternatively, you can (should) change your design to avoid repetitive socket creation.
http://lists.agentpp.org/pipermail/snmp4j/2007-August/002406.html