Re: addding new fd in select() for recieving request
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2008/6/9 <[email protected]>: > I have a requirement that i also need to listen for alarms coming > from another application on socket and forward them to manager > apart from GET/SET request from Manager Have a look at the 'register_readfd()' routine which is designed for exactly this purpose. > I am thinking of doing it in following manner. > Please comment on the following if it is wrong You do not need to change the main() code. The Net-SNMP toolkit already supports the functionality you require. Dave ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ 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