Community
Participate
Working Groups
/* Next try and get the server running */
/* start the transport layers */
serverStarted = connectionManager_startServers( &connectionManager );
agentManager_startAutoloadAgents( &agentManager );
TPTP_LOG_DEBUG_MSG( am, "Everything is running" );
if(serverStarted != 0)
{
TPTP_LOG_DEBUG_MSG( am, "Error starting transport layers, Agent controller exiting.");
/* We couldn't get the server running, therfore set the
state to SERVICE_STOPPED and exit
*/
}
else
/* Notify the Service Control Manager we are running and
wait until we get a SERVICE_CONTROL_STOP message