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(); }
internal ResponseProcessor(TcpClient s, Server.MyHttpServer lol, pluginM plugin) { this.socket = s; this.srv = lol; this.plugins = plugin; }