RE:OID RETRIVAL in form of string (SNMPV1)

anand chandragandhi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi.

I want to get the oid alone from response packet in string format
eg:1.3.6.1.2.1.1.1.0

Purpose is:

I am sending getnext for this OID 1.3.6.1.2.1.4.20.1


The response packet has value IP addr(eg:172.19.240.43) and OID is
1.3.6.1.2.1.4.20.1.1.172.29.240.43(this i captured in ethereal and want to
get the same in C code)

I am get this values in buffer and i am appending '.' to get the string in
above format


Please let me know if any API is available in netsnmp to get the oid in
above format.

Thanks in advance,
Anand C

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.