Hello! I am developing an SNMP application using the WinSNMP APIs. I have been able to query the resource using the SnmpSendMsg(). The Pdu_type was set to SNMP_GET_PDU.
Now that i have to "Set" the value for the object, i have used SNMP_SET_PDU flag. But the confusing part is that i am not sure where and how to put in a new value that needs to be set.
Does the new value need to be put in the 'varbindlist', at the index following the OID
Please suggest the right approach.
Also, could anyone please elaborate on the VarBindList in brief. As, till now i only know that it is used to send the OID.
Waiting for reply.
Visual C++1
|