On Thu, Mar 20, 2014 at 03:01:21PM +, Pentasuglia, Corey wrote:
> Thanks again for the response Niels. I hope you don't mind me throwing
> one more at you. Is there a good way to take the value/values that are
> returned and convert them into strings (if they are of different snmp
> types)? Giv
statement, but is there an
easier way?
-Original Message-
From: Niels Baggesen [mailto:n...@users.sourceforge.net]
Sent: Wednesday, March 19, 2014 4:18 PM
To: Pentasuglia, Corey
Cc: net-snmp-coders
Subject: Re: Problems with async
Den 19-03-2014 20:27, Pentasuglia, Corey skrev:
> Say I g
Den 19-03-2014 20:27, Pentasuglia, Corey skrev:
> Say I get the system description:
> SNMPv2-MIB::sysDescr.0 = STRING: Linux system.name kernel#...so on
> How can I just retrieve what comes have STRING: and store it off in I a
> string?
if (vars->type == ASN_OCTET_STR) {
char *str = malloc(va
lto:n...@users.sourceforge.net]
Sent: Tuesday, March 18, 2014 5:40 PM
To: Pentasuglia, Corey; net-snmp-coders@lists.sourceforge.net
Subject: Re: Problems with async
Den 17-03-2014 12:54, Pentasuglia, Corey skrev:
> Is there anything I'm missing here? This app is in c++, so the
> callback is the onl
Den 17-03-2014 12:54, Pentasuglia, Corey skrev:
> Is there anything I’m missing here? This app is in c++, so the callback
> is the only method that is declared with extern “C”. If this is
> incorrect please let me know. I am not setting the void*, because I
> don’t need to send any data to the call
Hi all,
I'm running into a little issue here. I've created a test application that
utilizes both synchronous and asynchronous snmp get's.
My synchronous app works ok, however I cannot get my async app working. I
believe I have everything set up correctly. I'm launching my application
through g