SNMPERR_TOO_LONG

This is a discussion on SNMPERR_TOO_LONG within the SNMP Coders forums, part of the Networking and Network Related category; Please advice: I made a program, that sends traps almost the same as snmptrap does. But now I have a ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-07-2005
Andrei Pisau
 
Posts: n/a
Default SNMPERR_TOO_LONG

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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:59 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0