snmp_open returns non-null when called with an invalid ip address. Is this
expected ?

Example:
mysession.peername = "192.168.1.0"
myhandle = snmp_open(mysession)
myhandle is not null
mysession.peername = "192garbish"
myhandle = snmp_open(mysession)
myhandle still not null

I guess the more general answer I'm looking for is how to valida that the
Ip address indicated by peername is reachable ?
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to