protected override void Process(System.Net.Sockets.Socket socket) { // This is unlimited threaded. HttpServerWorker worker = CreateWorker(socket, this._preProcessor, this.Certificate, this.PrivateKey); System.Threading.ThreadStart threadStart = new System.Threading.ThreadStart(worker.Execute); System.Threading.Thread thread = new System.Threading.Thread(threadStart); thread.Start(); //TODO }
protected virtual void Process(System.Net.Sockets.Socket socket) { // This is unlimited threaded. HttpServerWorker worker = CreateWorker(socket, this._preProcessor); System.Threading.ThreadStart threadStart = new System.Threading.ThreadStart(worker.Execute); System.Threading.Thread thread = new System.Threading.Thread(threadStart); thread.Start(); //TODO }