Re: Can I set Math::BigInt value for OCTETSTR?
Wes Hardaker <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Sparta |
| Message-ID | <[email protected]> |
>>>>> On Mon, 9 Feb 2009 18:04:50 +0700, michael kapelko <[email protected]> said: mk> $vb = new SNMP::Varbind([$oidVLANStaticUntaggedPorts, $vlanID, $hs, mk> 'OCTETSTR']); I actually thought that the SNMP module code would support a '0x' string itself, but I may be wrong about that. I don't think the Math::BigInt routine has a proper converstion to a binary string. Instead you might try to use pack/unpack to accomplish what you need instead. -- Wes Hardaker Sparta, Inc. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ 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