On Wed, Feb 24, 2010 at 12:09 PM, Tanisha Kashyap <
tanisha.kash...@aricent.com> wrote:
> I have defined the following cases in my code for the SET REQUEST:
>
> MODE_SET_RESERVE1
> MODE_SET_RESERVE2
> MODE_SET_FREE -> does nothing
> MODE_SET_ACTION
> MODE_SET_COMMIT -> does nothing
> MODE_SET_UNDO -> does nothing
>
> The function that is invoked multiple times is defined under the
> MODE_SET_ACTION case.
>
> Since I have defined all the cases for the Set request so the function
> under MODE_SET_ACTION case shouldn't be invoked more than once.
>
> Is my thought correct?
>
I agree that MODE_SET_ACTION should be invoked only once for each SNMP set
request received from the SNMP management software. However, you should keep
in mind that SNMP requests are sent over UDP. If the reply gets lost or does
not arrive in time at the server running the management software, the set
request will be resent.
Bart.
------------------------------------------------------------------------------
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-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