[ First - *please* don't mail me directly unless you want private,
       *paid* consulting services.  Keep discussions on the list, where
       others can both learn and offer advice.  Thanks.                 ]

On Tue, 2 Mar 2010 11:40:48 +0200 maxim wrote:
MM> i new in snmp and i need explanation about a code, for example i don't
MM> understand what is the role of callback function in the net_snmp structure?

The library will call the call back function when messages are received,
transports connect/disconnect, messages timeout, etc. See snmp_api.c.

MM> In the snmptrap this function is snmp_input, that return 1, i don't
MM> understand the purpose of this function?

Since this function does nothing, it is likely that simply setting the
callback function to NULL would provide the same result.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to