Пример #1
0
        private void OnSslConnect(SslServer server)
        {
            SslSocket socket = server.Accept();
            WebThread thread = new WebThread(handler, socket);

            thread.Start();
        }
Пример #2
0
        private void OnTcpConnect(TcpServer server)
        {
            TcpSocket socket = server.Accept();
            WebThread thread = new WebThread(handler, socket);

            thread.Start();
        }