# [PATCH] SNMP, 2nd try

- Thread: https://externals.io/message/2393
- Original archive: https://news-web.php.net/php.internals/2393
- Started by Johann Hanne on 2003-06-18T18:08:32+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #2393 — Johann Hanne — 2003-06-18T18:08:32+00:00

URL: https://externals.io/message/2393#2393

Hi all,

this is the second version of my patch regarding the SNMP value retrieval. If 
you want to know more, please have a look at my previous explanation:
http://www.phpbuilder.com/mail/php-developer-list/2003011/0449.php

(And BTW, for some PHP security fun, have a look at:
http://www.phpbuilder.com/mail/php-developer-list/2003011/att-0449/02-snmptest.php)

Some things have been modified by request:
- The ASN_* constants are now named SNMP_*
- The SNMP_VALUEMETHOD_* constants are now named SNMP_VALUE_* (shorter, but I 
want to keep the _VALUE_ part to make them distinguishable from the other 
SNMP_* constants)
- The snmp_set/get_valuemethod() functions are now named 
snmp_set/get_valueretrieval()
- The Net-SNMP experimental value types have been dropped

A modified test-script is also attached...

Cheers, Jonny
