On Wed, 17 Jun 2009 15:51:39 +0100 Stuart wrote:
SB> I am fairly new to working with the Net-SNMP libraries using C++ and an
SB> trying to get a MAC address converted to a string value but an not having
SB> much luck. I have tried if vars->type ASN_OCTET_STR and ASN_BIT_STR but all
SB> I get is gibberish can anyone help?

octet string is right, but it's going to be a 6 byte binary value. You have to
do the string conversion yourself.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to