Re: periodic TRAP watcher!

"Raghavendra Prasad" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
>Then you believe wrong.
>The whole purpose of the "infinite loop" is to watch for SET and GET
>requests, and process them appropriately.

>The    snmp_alarm_register()  is used to set up an interrupt timer,
>which will break into this infinite processing loop at regular intervals,
>invoke the code to send the notification, and then return to the main
>loop - watching for GET/SET requests.

>An agent that doesn't handle such requests would be pretty useless!
>(So it might perhaps have been worth checking the code rather than
>guessing how the agent works and getting it so badly wrong)


That gives a good insight into how the API works, I have no clue on
many things in Net-SNMP code - I am using this API like a  blackbox.

Would you mind telling me in which file this infinite loop runs?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.