예제 #1
0
파일: Form1.cs 프로젝트: 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();
        }
예제 #2
0
파일: HttpResponse.cs 프로젝트: Thad54/swe2
 internal ResponseProcessor(TcpClient s, Server.MyHttpServer lol, pluginM plugin)
 {
     this.socket = s;
        this.srv = lol;
        this.plugins = plugin;
 }