This is a discussion on How to do create a net-snmp subagent without infinite while loop within the SNMP Users forums, part of the Networking and Network Related category; I know that I am mailing at wrong address but mails at net-snmp-coders@list.sourceforge.net are not ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I know that I am mailing at wrong address but mails at net-snmp-coders@list.sourceforge.net are not getting delivered. So please forward my mail to correct destination. Dear Sir/Madam, I am using net-snmp version 5.2.2 to develop a subagent to a protocol stack. I want both the stack and subagent to run as a single process. But as your tutorial suggest my subagent has to be stuck in an infinite while loop waiting for SNMP request, like the following. while(keep_running) { agent_check_and_process(1); /* 0 == don't block */ } But this loop is disturbing my stack and I don't want it. How can I do away with this loop? Please help me in this reguard. Yours sincerely Simon Saha *********************** FSS-Unclassified *********************** "DISCLAIMER: This message is proprietary to Flextronics Software Systems Limited (FSS) and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. FSS accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ 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/...net-snmp-users |