SNMP Set issue.  
Author Message
Sumit Bhatnagar





PostPosted: Visual C++ General, SNMP Set issue. Top

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++14  
 
 
Bite Qiu - MSFT





PostPosted: Visual C++ General, SNMP Set issue. Top

Hello

Re: SNMP Set issue.

Such questions are outside the scope of this forum - for the scope of the Visual C++ General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1

For questions about Win32 programming, previous releases of Visual C++ and Visual Studio, please use the MSDN newsgroups that are all linked off:http://msdn.microsoft.com/newsgroups/

OTP

Thanks

Bite