Пример #1
0
        /// <summary>
        /// Adds a Additional Client Worker to the Server
        /// </summary>
        public void AddWorker()
        {
            TcpWorker <pClientHandler> worker = new TcpWorker <pClientHandler>(this, this.ClientWorkers.Count);

            worker.Start();

            this.ClientWorkers.Add(worker);
        }
Пример #2
0
 /// <summary>
 /// Removes the latest Client worker off the server
 /// </summary>
 public void RemoveWorker()
 {
     TcpWorker <pClientHandler> worker = this.ClientWorkers[^ 1];