Here we discuss how to write an asynchronous application. It's only purpose is to retrieve the value of a set of variables from a set of remote hosts.  
+
Here we discuss how to write an asynchronous application. It's only purpose is to retrieve the value of a set of variables from a set of remote hosts. (This is for the C library, see [[TUT:Simple_Perl_Async_Application]] for Perl.)
   −
Here are the files discussed in this example so you can download them:  
+
{{TUT:File-Table-Top-and-basics}}
 +
| [http://www.net-snmp.org/tutorial/tutorial-5/toolkit/asyncapp/asyncapp.c asyncapp.c] || The Asynchronous C source code
 +
|}
   −
  XXX
+
This discussion assumes that you already have read the snmpdemoapp tutorial section.  
  File
+
  Description
+
  Makefile  A simple Makefile to build the application
+
    asyncapp.c  The C source code
+
   −
This discussion assumes that you alread have read the snmpdemoapp tutorial section.  
+
The program assumes that you have a set of hosts that you want to interrogate for a set of variables. For simplicity's sake each query just asks for one variable.  
   Exception encountered, of type "Error"