Click here to Skip to main content
15,891,936 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Im trying to write an SNMP agent using the WinSnmp API using Visual
Studio 2005 C# on XP. When invoking SnmpListen it fails and
SnmpGetLastError returns SNMPAPI_TL_OTHER as the error code
Any suggestion?

bye

Mauro Savoiardo
msavoiardo@tin.it
Posted

1 solution

Have a look here: http://www.eggheadcafe.com/software/aspnet/29802437/winsnmp-api-problem.aspx[^] they have some interesting hints.

"Did you call SnmpCreateSession()? Did it succeed?"
-Farooque Khan

"Is the port already in use?"
-Niu Kun

Best Regards,
Manfred
 
Share this answer
 
Comments
Member 487672 4-Feb-11 11:14am    
The SnmpCreateSession is ok and how can i test if the port is busy or which is the process that use it?

Mauro
Espen Harlinn 4-Feb-11 11:30am    
Good link :)
fjdiewornncalwe 6-Feb-11 13:48pm    
+5.
Member 487672 10-Feb-11 12:13pm    
Any other suggestion?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900