1.4.22.1.2
net adress (ip) - .1.3.6.1.2.1.4.22.1.3
Thanks
Rafael Ratacheski
--
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on ke
The stringstream worked perfectly. thank you very much
2013/10/31 Schmoll Walter
> …
>
> returned += static_cast (*bp++);
>
> …
> returned += static_cast (*bp++);
>
> …
>
>
>
> I never used std::string, so I’m no expert. But according to
> http://www.cplusp
r*) buf;
string returned("test:");
if (buflen > 0) {
returned += static_cast (*bp++);
for (size_t i = 1; i < buflen; ++i) {
returned += '.';
returned += static_cast (*bp++);
}
}
return returned;
}
What am I
d, which is
> part of net-snmp lib?
>
> I haven’t read your code in detail, so maybe I’m wrong.
>
> ** **
>
> Walter
>
> ** **
>
> *From:* Rafael Ratacheski [mailto:rafaelratache...@gmail.com]
> *Sent:* Dienstag, 29. Oktober 2013 19:51
> *To:* net-sn
Hello, I'm having problem in concatenate the oid value in a string. I've
tried several possible ways, but all unsuccessfully. Can you help me? My
code is
string print_ip(const void* buf, size_t buflen) {
unsigned const char* bp = (unsigned const char*) buf;
string returned("test:");
s
It works very well. thank you
2013/10/4 Magnus Fromreide
> On Fri, 2013-10-04 at 18:13 +0000, Rafael Ratacheski wrote:
> >
> > Your solution resolve my problem partially, I have success to print
> > the value but my real objective is save the value in a buffer, and
> &g
On Thu, 2013-10-03 at 18:14 +, Rafael Ratacheski wrote:
> > Hello, I'm having troubles in request and save the value of the
> > ipNetToMediaPhysAddress OID.
> >
> > My routine get the MAC Adress, but only a half of the value.
> >
> > What I
Hello, I'm having troubles in request and save the value of the
ipNetToMediaPhysAddress OID.
My routine get the MAC Adress, but only a half of the value.
What I'm doing wrong? Can you help me?
if (vars->type == ASN_OCTET_STR) {
u_long *sp = malloc(1+id_len);
memcpy(sp, vars
Hey guys,
I need some help to develop a C++ Code to track a network, and i'm not have
success to associate the net-snmp library with the netbeans.
--
Introducing Performance Central, a new site from SourceForge and
AppDyna