Example #1
0
 public NagCoordinator(int portNumber, PatternCollection patternCollection)
 {
     Service = new TCPService(portNumber, 10000, NewWorker, GetCount);
     PatternCollection = patternCollection;
     OnNag = null;
     Service.StartListeningAsync();
 }
 public NagCoordinator(int portNumber, PatternCollection patternCollection)
 {
     Service           = new TCPService(portNumber, 10000, NewWorker, GetCount);
     PatternCollection = patternCollection;
     OnNag             = null;
     Service.StartListeningAsync();
 }
        protected static void StartListening(object pGameServer)
        {
            TCPService lService = pGameServer as TCPService;

            lService.StartListening();
        }