On Thu, 2005-04-14 at 16:11, Robert Story wrote: > The question is, what should the default behaviour be? > Always delay the probe ... [or] allow a failed probe to > successfully return, and set up to retry the probe when needed.
Either of those two would be acceptable. At the moment, the library has the unfortunate behaviour that you can't delay setting the SNMP version until after opening the session, if you're talking to a v1-only agent. The initial probe fails, so 'snmp_open' doesn't return a session structure - despite the fact that the v3 information wouldn't actually be needed anyway. I tried to raise this with Wes a couple of years ago (and subsequently), but we never got very far. Dave ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders