I'm just developing a new program to read the snmp from the WiFi radios. I have read the tutorial and found the program asyncapp.c - this work fine. I used the base of this program in my own program. My program sends about 2000 sequests to the snmp clients and they send anwers from the snmp counters like ifInOctets.X. I need to send this requests asynchronuously, because the count of requests is too high and application would be very slow with synchronuous sending (really! I tried it).
Now the problem: I send the requests in the loop like
while (i < numrows) { ... send_snmp_request(..., ...); }
and then read answers. I send now a small amount of requests, about 100. And here is my question: Why will I NOT gag my computer with the snmp anwers from the clients if the amount increase to 2000?
If my computer would be gagged: how can I solve this problem? The asyncapp.c sends the requests and then reads answers. I think I will need do this simultaneously, but I don't know how, because the net-snmp library is not thread safe and I was not able to find any other solution
Any help will be very appreciated!!
------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users