rename the function main() in snmpd.c as  to "required  function nane" , 
comment out fork() in same file.
If you a going to invoke it as thread, lot of work is ahead.

Darshan Ghumare wrote:
> Hi all,
>          I want to make snmpd (daemon) as a part of my code. So it 
> will be like SNMP-Agent  is one of the sub-module of my project but 
> not as a separate process. How should I go about it?
>  
>         Thank you.
>  
> Regards
> Darshan
>
> -- 
> Darshan®
> Marie von Ebner-Eschenbach 
> <http://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html> 
>  - "Even a stopped clock is right twice a day."
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>   


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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

Reply via email to