示例#1
0
        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
        }
示例#2
0
        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
        }