>>>>> On Mon, 20 Feb 2006 16:29:58 +0100 (CET), ange terrien <[EMAIL 
>>>>> PROTECTED]> said:

ange> Does anybody know how to encode a hex-string varbind (
ange> like the 'x' type in snmptrap) to send it with
ange> 'SNMP_Session::v2_trap_request_send' ? 

ange> I found a 'encode_string' but no 'encode_hexstring' in
ange> the lib.

Using snmp_add_var is what snmptrap does...

snmp_varlist_add_variable() should let you do what you want I think...

-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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

Reply via email to