Exemplo n.º 1
0
Arquivo: Form1.cs Projeto: Thad54/swe2
        private void button1_Click(object sender, EventArgs e)
        {
            Server.MyHttpServer httpServer = new Server.MyHttpServer(Convert.ToInt16(textPort.Text));

            label1.Text = "Running...";
            Thread thread = new Thread(new ThreadStart(httpServer.listen));
            thread.Start();
        }
Exemplo n.º 2
0
 internal ResponseProcessor(TcpClient s, Server.MyHttpServer lol, pluginM plugin)
 {
     this.socket = s;
        this.srv = lol;
        this.plugins = plugin;
 }