void snmpIoMain (void)
This routine is invoked by the agent after it has successsfully completed the preliminary initializations. In this routine, the user is required to initialize the transport endpoint and the views, and then complete initialization of the agent by calling snmpdInitFinish( ). Any configuration required for snmpIoTrapSend( ) must be done before calling snmpdInitFinish( ) since it will be invoked in there. Any hooks that are required by the user must be passed to snmpdInitFinish( ). The transport endpoint must be initialized before snmpdInitFinish( ) is called; the main loop is then invoked. Before calling snmpIoBody( ), the routine which waits on the socket, it calls snmpMonitorSpawn( ) which spawns the master-agent task.