|
- snmpSession
- This input parameter is a pointer to the SNMP session that was
created by the snmpBuildSession() function. This parameter is required.
- pdu
- This input parameter is a pointer to the BER-encoded PDU value
that is to be sent to the agent. This parameter is required.
- waitInterval
- This input parameter specifies the number of seconds that this
call waits to receive a return. If the response does not return within
this specified time, this function returns an error code that specifies
the timeout period. If this parameter's value is 0, this call waits
until a response is received. This parameter's value must be non-negative.
- decodedResponse
- This output parameter is a pointer to the address of the decoded
response PDU that is returned from the agent. The value might be
NULL if the PDU is not received before the waitInterval period
expires. This decoded PDU is used as input to several of the helper
functions. This parameter is required.
- receiveOnly
- This input parameter specifies whether or not to try
to retry receive the response PDU again if the first attempt
timed out. The assumption is that the request has been successfully
sent but that there is no response from the SNMP agent. This parameter
can be set to 0 if your SNMP manager is sending a PDU, or it can be
set to 1 if you want to try to receive a response again.
If you specify a value of 1, a PDU is not sent to the target agent.
|