本人用java写snmp manager.
使用了westhawk.co.uk公司的java snmp manager的开发包,版本snmp4_13.
get和set操作都可以,可接受Trap的操作有问题,初始化执行到
context.addTrapListener(this)时抛出异常,提示:
"java.io.IOException: Socket problem Address already in use: Cannot bind
....."
执行开发包自带例子也出现同样问题,而我传入的参数应该没错:
host="200.162.162.191", port=162, socketType="Standard", community = 
"public". 
不知道怎么办? 请问有谁用过这个包, 高分求教各位!!初始化代码:
        ....
        context = new SnmpContextv2c(host,port, socketType);
        context.setCommunity(community);
        context.addTrapListener(this);
        ....