public static bool Start(int portNum, int threadCount) { AddService(new DemoService()); threadPool = new ThreadPoolRouter(threadCount, portNum); threadPool.startWork(); listenerThreadWorker = new Thread(new ParameterizedThreadStart(listenerThread)); listenerThreadWorker.Start(portNum); return(true); }