Thanks so much.
But, do I have to use the snmp library? And include the header files into my
project?

2011/1/13 Wes Hardaker <[email protected]>

>
> The better way would be to use the API to send a trap.  Rather than call
> snmptrap from within a system call, look at the insides of the
> apps/snmptrap.c file and copy how it creates a trap (or inform) PDU and
> send it via function calls instead.
>
> --
> Wes Hardaker
> Please mail all replies to [email protected]
>
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to