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
本文讨论了在使用SNMP监听时遇到的问题,并提供了解决方案。建议通过扩展DefaultUDPTransportMapping来设置socket选项setReuseAddress(true),或者更改设计避免重复创建socket。

2512

被折叠的 条评论
为什么被折叠?



