On 25 August 2010 03:02, AC. <achuan...@gmail.com> wrote:
> When I used "snmptable" to get the information of the table A, it will
> contact the handler of table A.
> But it will contact the handler of table B, too.

But only once, at the very end.
(I presume?)


> I see that the command "snmptable" use the "getnext" to retrive the
> information,
> but is that correct cause I don't need the information of table B?

Please consider the following question:
   - How does the snmptable command know when it has
     received the last row of table A?



> PS, if you need the source code that about these 2 tabls,
> please response to me and I will attached my code for you.
> But I think that the problem doesn't be relate to them.

No - you are quite correct.
The reason you are seeing this extra "unnecessary" request
is tied up with the fundamental design of SNMP.  It's not
specific to your particular code - you would see exactly the
same behaviour with any other table.

Dave

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
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