This is a discussion on Re: asynchronous response from with a agentx subagent within the SNMP Coders forums, part of the Networking and Network Related category; sorry i didnt mean that. i want to use the async interface without making this call synchronous as this daemon ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
sorry i didnt mean that. i want to use the async interface without making this call synchronous as this daemon is responsible for other things as well. thanks ATG --- Robert Story <rstory@freesnmp.com> wrote: > On Wed, 27 Jul 2005 16:34:12 -0700 (PDT) Srinivas > wrote: > SA> I cannt make it synchronous. > > Sure you can. Instead of calling xxx_async(), write > a wrapper: > > int xxx_sync() > { > rc = xxx_async(); > if(rc) handle_error(); > rc = xxx_wait_for_async_results(); > if(rc) handle_error(); > return rc; > } > > -- > 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. > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |
![]() |
| Thread Tools | |
| Display Modes | |
|
|