Inheritance: SkeletonReceiver
        private void Connect()
        {
            if (httpServer == null)
            {
                httpServer = new HttpListener();
                httpServer.Prefixes.Add(serverEP);
                httpServer.Start();
            }

            HttpListenerContext clientContext = httpServer.GetContext();
            ServerTask spawnClient = new ServerTask(clientContext, source, logging);
            Console.WriteLine("Spawning client");
        }
Ejemplo n.º 2
0
        private void Connect()
        {
            if (httpServer == null)
            {
                httpServer = new HttpListener();
                httpServer.Prefixes.Add(serverEP);
                httpServer.Start();
            }

            HttpListenerContext clientContext = httpServer.GetContext();
            ServerTask          spawnClient   = new ServerTask(clientContext, source, logging);

            Console.WriteLine("Spawning client");
        }