Re: Study net-snmp source code
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 8 November 2010 06:06, Queenie de Melo <[email protected]> wrote: > i too would like to understand the flow and study the source code of > net-snmp. That's a bit vague. What exactly are you interested in? Client applications? The SNMP agent (in broad terms)? The processing of an individual requested varbind? Subagents? > From here, now when should i start? When? As soon as you like? Where? For following client applications, the simplest is probably to run one of the clients within a debugger, and single-step through the code. For following the workings of the agent, it's probably simpler to start by turning on some selected debugging ("-D{token}") and watch what happens when the agent receives a request. Have a look through the code under 'agent' for mention of DEBUGMSG, and turn on something that looks interesting. (Hint - do *not* turn on full debugging. You'll drown in the output!) Dave ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ 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