snmptrap - fails on second attempt

Vinod Nanjaiah <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <174230991E95D743B0C91DF471EF44E8436D9F6616@MTW02MSG02.mindtree.com>
Dear experts,
I am not sure why sending trap fails the second time.
Any thoughts on why this happens?

I am using snmptrap.c from net-snmp-5.4.2.
The netsnmp_transport_open_client() called within snmp_add () fails and throws this error.

        "No support for any checked transport domain"

I could trace the error message to snmp_transport.c. But am not sure why it fails.

The way that I am using snmptrap.c is I have renamed the 'main' function to send_trap (). From a new 'main' function I am calling send_trap () multiple times with different traps.

Is this a bug by any chance?
Are any workarounds possible?

Regards,
Vinod


http://www.mindtree.com/email/disclaimer.html

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.