Example #1
0
File: Form1.cs Project: 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();
        }
Example #2
0
 internal ResponseProcessor(TcpClient s, Server.MyHttpServer lol, pluginM plugin)
 {
     this.socket = s;
        this.srv = lol;
        this.plugins = plugin;
 }