Wes Hardaker wrote:
On Wed, 23 Sep 2009 12:54:10 +0530, sanjaykumar <sanjay.ku...@globaledgesoft.com> said:
            

s> what about the different API available in agent/agent_trap.c ?

If you're writing code within the agent, you should be using the agent's
API for sending traps.  See the agent/mibgroup/examples/notification.c
for an example.
  
Thanks a lot for the reply.
But, here snmptrapd demean will have to  running  to receive the  NOTIFICATION (TRAP)  response. or Agent will also handle the response ?
What if we don't have snmptrapd is running,
As I am running the agent code as a "thread" as a part of my Application.
So to receive the notification does I need to run snmptrapd as a thread,
or response of notification can also received at "select" in "receive" function in snmpd.c

Regards,
Sanjay

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to