Re: Having problem with stirng index table

geri noorzaman <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
OK, thank u so much Dave.
I will try.




________________________________
From: Dave Shield <[email protected]>
To: geri noorzaman <[email protected]>
Cc: [email protected]
Sent: Monday, June 8, 2009 2:28:10 PM
Subject: Re: Having problem with stirng index table

2009/6/8 geri noorzaman <[email protected]>:
> So right now, how to implement the data type like the octet string like
> this? for example for mac address 'AA:BB:CC:DD:EE:FF'.

Try

    char address[6];
    address[0] = '0xaa';
    address[1] = '0xbb';
    address[2] = '0xcc';
    address[3] = '0xdd';
    address[4] = '0xee';
    address[5] = '0xff';

Dave

------------------------------------------------------------------------------
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-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.