No, it was not cache timeout problem. Neither am I using ifXTable.

I have found the problem, it was caused by fdset not being cleared after read. I added FD_CLR, and the problem went away.
Anyway, I am interested in registering a handler for the pipe. Would you please point me some example for this?
Thanks.
--
Emi

Inactive hide details for Robert Story <[EMAIL PROTECTED]>Robert Story <[EMAIL PROTECTED]>


          Robert Story <[EMAIL PROTECTED]>

          06/22/2005 11:28 AM

          Please respond to
          [email protected]

To

[EMAIL PROTECTED]

cc

[email protected]

Subject

Re: Lost response problem, call cache_load again before populate all rows

On Wed, 22 Jun 2005 09:45:54 -0500 [EMAIL PROTECTED] wrote:

Why did you modify agent_check_and_process(), instead of simply registering a
handler for the pipe and letting the library take care of calling your handler
when data comes in?

--
NOTE: messages sent directly to me, instead of the lists, will be deleted
     unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <
http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <
http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different.

GIF image

Reply via email to