Questions tagged [winsnmp]

18 questions
0
votes
0 answers

C++ WinSnmp callback func and object address in lpClientData parameter

My c++ class is using WinSnmp to get integer value from device. The session is initialized as follows: snmpident::snmpident(const char* c, const char* si, const char* i,const char*…
0
votes
0 answers

WinSnmp response message is always in V1

I'm creating a C++ application with WinSnmp to manage a SNMP agent on Windows. It works quite well, but all "Response" messages that I send are in V1 (0), although I set SNMPAPI_UNTRANSLATED_V2 translate mode and the GET request is in V2. I don't…
VixSde
  • 1
  • 2
0
votes
1 answer

How should I test if a PDU is too big in WinSNMP?

I am building an SNMP Agent for a Windows application using the Microsoft WinSNMP API. Currently everything is working for single-item get and set-request, and also for get-next to allow walking the defined tree (albeit with some caveats that are…
icabod
  • 6,992
  • 25
  • 41
1
2