[This is preliminary documentation and subject to change.]
The Microsoft WinSNMP implementation provides multiple levels of SNMP communications support. The levels are listed in the following table.
Level | Meaning |
---|---|
Level 0 | Support for message encoding and decoding only. Level 0 support does not provide communication transport services. This level does not support the SnmpSendMsg, SnmpRecvMsg, and SnmpRegister functions, because these functions require communication with other SNMP entities. |
Level 1 | Support for Level 0 communications, as well as interaction with SNMP agent entities operating under the SNMP version 1 framework (SNMPv1). |
Level 2 | Support for Level 1 communications, as well as interaction with SNMP agent entities operating under the SNMP version 2C framework (SNMPv2C). |
The implementation returns the maximum level of SNMP communications it supports in response to a call by the WinSNMP manager application to the SnmpStartup function.
If the WinSNMP manager application uses the implementation for SNMP message encoding and decoding only, the application must perform required transformations that the implementation would have performed. This includes translating SNMPv1 traps returned by a call to the SnmpRecvMsg function, to SNMPv2C traps. It also includes translating PDU types defined by SNMPv1 to the relevant PDU type defined by SNMPv2C, in accordance with RFC 1908.