Please advice:

I made a program, that sends traps almost the same as snmptrap does. But
now I have a problem with it. I build it with the api from net-snmp
5.2.2.pre1.

I use to have it working on some older net-snmp version.

After I do snmp_send I have the snmp_errno = -5 which means
SNMPERR_TOO_LONG. But the session field sndMsgMaxSize is 0, so the
conditions for snmp_send to throw SNMPERR_TOO_LONG are not fulfilled.

What do I do wrong?




-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to