[This is preliminary documentation and subject to change.]
The Microsoft WinSNMP implementation can detect a network transport error after it transmits an SNMP message. When this occurs, the implementation sends a data receipt notification to the WinSNMP session that initiated the communication request. The implementation also returns SNMPAPI_FAILURE on the next call to the SnmpRecvMsg function for the session. The SnmpRecvMsg function fails with an extended error code that indicates a network transport layer error.
For a list of specific transport layer errors, see the reference pages for the SnmpRegister, SnmpSendMsg, and SnmpRecvMsg functions.