Date: 07/11/99
- Next message: Alex Belits: "Re: [PHP-DEV] snmpset(), X10, and other stuff"
- Previous message: Nick Sayer: "[PHP-DEV] String to time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In the documentation, I noticed two undocumented parameters for snmpget:
timeout and retries. Also, the return value for snmpget is really a string;
the docs say int (doah hehe ;-).
There's also a new function as of very recently: proto int snmpset(string
host, string community, string object_id, string type, mixed value [, int
timeout [, int retries]])
The "type" parameter must be one of the following, depending on the type of
variable to set on the SNMP host:
i INTEGER
u unsigned INTEGER
t TIMETICKS
a IPADDRESS
o OBJID
s STRING
x HEX STRING
d DECIMAL STRING
If OPAQUE_SPECIAL_TYPES was defined while compiling the SNMP library, the
following are also valid:
U unsigned int64
I signed int64
F float
D double
--Steven Lawrance--
Personal Web Site and E-Mail:
slawrance <email protected>
http://www.bryant.edu/~ssl2 (SSL2)
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Alex Belits: "Re: [PHP-DEV] snmpset(), X10, and other stuff"
- Previous message: Nick Sayer: "[PHP-DEV] String to time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

