Exemple #1
0
 bool initService() {
     ServiceController::reportStatus( SERVICE_RUNNING );
     log() << "Service running" << endl;
     initAndListen( cmdLine.port );
     return true;
 }
Exemple #2
0
ExitCode initService() {
    return initAndListen(serverGlobalParams.port);
}
Exemple #3
0
 void initService() {
     ntservice::reportStatus( SERVICE_RUNNING );
     log() << "Service running" << endl;
     initAndListen(serverGlobalParams.port);
 }
Exemple #4
0
 bool initService() {
     ServiceController::reportStatus( SERVICE_RUNNING );
     initAndListen( cmdLine.port );
     return true;
 }
 void run() {
     initAndListen();
 }