🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3972

Re: How to read counter64 in IdSNMP

#3972
From: Remy Lebeau (TeamB)
Date: Wed, 11 May 2005 16:45
15 lines
1600 bytes
"Mert CAN" <sokrates1331@hotmail.com> wrote in message
news:4281af67@newsgroups.borland.com...

> I wonder if it is impossible to read the response by using
> udpbase->responsestring() function. Or is there any other
> way to get the value of this counter64?

An easier way would be to manually update IdASN1Utils.pas to recognize
Counter64 types, and then recompile the Indy library.  That way, you can
continue using TIdSNMP as-is, and you should then have non-NUL string values
that you can pass to StrToInt64()..


Gambit
Technical Details
Message-ID: <4282366b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4280ba31$1@newsgroups.borland.com> <4280e792$1@newsgroups.borland.com> <42810604$1@newsgroups.borland.com> <42811636$1@newsgroups.borland.com> <4281af67@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,85c530933f006885
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <4280ba31$1@newsgroups.borland.com> <4280e792$1@newsgroups.borland.com> <42810604$1@newsgroups.borland.com> <42811636$1@newsgroups.borland.com> <4281af67@newsgroups.borland.com>
Subject: Re: How to read counter64 in IdSNMP
Date: Wed, 11 May 2005 09:45:19 -0700
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4282366b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115829867 68.69.17.41 (11 May 2005 09:44:27 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail