Platform SDK: Network Management |
The WinSNMP application can request that the Microsoft WinSNMP implementation execute the application's retransmission policy. When the implementation manages retransmission, it uses the time-out period and the retry count values in its database.
The implementation identifies the default retransmission mode in a return value from the SnmpStartup function during initialization. The mode can be one of the following values.
Value | Meaning |
---|---|
SNMPAPI_ON | The implementation is executing the application's retransmission policy. |
SNMPAPI_OFF | The implementation is not executing the application's retransmission policy. |
A WinSNMP application can retrieve at any time the current retransmission mode in effect for the implementation by calling the SnmpGetRetransmitMode function. The WinSNMP API provides other database functions that simplify management of the retransmission policy.
At any time during program execution, the WinSNMP application can adjust execution of the policy by performing one of the following steps:
The application can execute its own retransmission policy. In this case, execution may or may not be based on the values in the database.