Exemplo n.º 1
0
        public HTTPRequest(TcpClient client, HTTPServer Parent)
        {
            this.client = client;
            this.Parent = Parent;

            this._HTTPResponse.BodySize = 0;
        }
Exemplo n.º 2
0
 public frmMain()
 {
     InitializeComponent();
     MyServer = new HTTPServer(PortToUse);
     while (!HTTPServer.CheckPortAvailability(MyServer.portNum))
         MyServer.portNum++;
     MyServer.Start();
 }