Re: cache in a mib stub code

2005-08-09 Thread Robert Story
On Sat, 6 Aug 2005 18:04:45 +0100 (BST) saifulla wrote: SMA> For that purpose, i need to know whether the request SMA> has come from the same session of snmpwalk/get-next. SMA> Is there any way to get this info? Nope. Each get-next is independent, and there is no state information passed from cli

Re: cache in a mib stub code

2005-08-09 Thread Dave Shield
On Sat, 2005-08-06 at 18:04 +0100, saifulla Mohd Abdul wrote: > I have implemented my mib code using net-snmp 4.1. Errr... Do you mean 'ucd-snmp 4.1' or 'net-snmp 5.1' ? There has never been a 'net-snmp 4.1' (and the UCD code is *very* old now) > What i need is: I want effectivly utilise tha

cache in a mib stub code

2005-08-06 Thread saifulla Mohd Abdul
Hi, I have implemented my mib code using net-snmp 4.1. But the data for that MIB is available in another process so i need to use IPC for that. So i get a complete row of that table in a call of IPC. And I cache that row in MIB stub code. Just to speed up the process. What i need is: I want e