Please read the SNMP4J FAQs at:

http://wiki.oosnmp.net/confluence/pages/viewpage.action?pageId=884741

and

http://wiki.oosnmp.net/confluence/pages/viewpage.action?pageId=884739

Best regards,
Frank

Tong Kwok Kei wrote:
> In TestAgent.java, public static void main, there is statement
> 
> TestAgent testAgent1 = new TestAgent(new File("SNMP4JTestAgentBC.cfg"),
> 
>                                            new
> File("SNMP4JTestAgentConfig.cfg"));
> 
> but I can't found these two files in the downloaded source, where is it? 
> 
> Also, if I want to write an example to simulate an agent using
> TestAgent.java and the manager ip is 192.168.20.72/162, then is it just pass
> 192.168.20.72/162 in the main method of TestAgent.java is enough? But I
> encounter the exception as follow:
> 
> Caused by: java.net.BindException: Cannot assign requested address: Cannot
> bind 
> 
> What is the problem?
> 
> _______________________________________________
> SNMP4J mailing list
> [email protected]
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com

_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to