> procedure TForm1.Button1Click(Sender: TObject); > var > retval: string; > mib: string; > ok: boolean; > begin > mib:= '1.3.6.1.2.1.10.127.1.3.3.1.2'; > Memo1.Clear; > repeat > if SNMPGetNext(mib, com, host, retval) then Memo1.Lines.Add(retval); > until not ok; end; > > I've got AGAIN full list of values, not only for 2. Why?
By SNMPGetNetx you can wak through full MIB tree. You must detect if you wish to stop with walking on end of your requested subtree. see SNMPGetTable for example. It using getnext internally and comparing returned mib value with requested mib and stop when next mib is in different tree. -- Lukas Gebauer. E-mail: [EMAIL PROTECTED] http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
