Send TRAP

Luis QuaggaSnmp <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello. I have a easy question but it´s important.

I have a program with a specific function, I need my function sends a TRAP,
and I´m using the code of apps/snmptrap.c, and I added the snmp libraries.
The function can send a TRAP very good because I tried with a simple TRAP,
with enterprise=0, generic=3 and specific=0 in version 1.
I only want to send a IP-address variable, and I don´t know what values I
have to put in enterprise, generic and specific.
And in version 2c, I have the same problem.

Regards in advance.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.