[AGENT++] Vb::get_value(...) and IP-address

Karl Abicht karl at abicht.info
Mon Aug 9 12:46:15 CEST 2004


Hello Frank,

how to get an IP-address from a Vb.

My browser sends an IP-address, I receive a Vb of type sNMP_SYNTAX_IPADDR.
But, if I try to get the value with get_value(unsigned char *ptr, unsigned
long &len) it fails because the method expects sNMP_SYNTAX_OCTETS.



Regards,

Karl

-- 
Dipl.-Ing. Karl Abicht
Eichenweg 11
25582 Hohenaspe

mailto: karl at abicht.net
phone: +49 4893 373115
mobile: +49 172 4566432
site: http://www.abicht.net




More information about the AGENTPP mailing list