Start() public method

public Start ( ) : void
return void
Example #1
0
 static void CheckConnections( SchedulerTask param ) {
     TcpListener listenerCache = listener;
     if( listenerCache != null && listenerCache.Pending() ) {
         try {
             Session newSession = new Session( listenerCache.AcceptTcpClient() );
             newSession.Start();
         } catch( Exception ex ) {
             Logger.Log( "Server.CheckConnections: Could not accept incoming connection: " + ex, LogType.Error );
         }
     }
 }