Hi
I need to force the snmpd agent to use the timeout instead of blocking
inside the 'select' function.

This is the piece of code in the snmpd agent where it decides whether to
blocking or not:
***********
        block = 0;
        snmp_select_info(&numfds, &readfds, tvp, &block);
        if (block == 1) {
            tvp = NULL;         /* block without timeout */
                }
***********
I've tried to set 'block = 1' in the first row of the code above with no
result.
Let me now if there is something that i can do.
Best regards

Vincenzo





-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to