From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.2
PHP Bug Type:     SNMP related
Bug description:  Unable to set remote SNMP port

According to the source in snmp.c, it looks like it's impossible to use an snmp* 
function on a non standard remote port (other that 161).

For that, the session structure passed to snmp_open needs to have its remote_port 
field filled.

Maybe it could be possible to add a new argument to the snmp functions, or handle 
something like "hostname:port" in the hostname field ?


-- 
Edit Bug report at: http://bugs.php.net/?id=9401&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to