Пример #1
0
        public HTTPRequest(TcpClient client, HTTPServer Parent)
        {
            this.client = client;
            this.Parent = Parent;

            this._HTTPResponse.BodySize = 0;
        }
Пример #2
0
 public frmMain()
 {
     InitializeComponent();
     MyServer = new HTTPServer(PortToUse);
     while (!HTTPServer.CheckPortAvailability(MyServer.portNum))
         MyServer.portNum++;
     MyServer.Start();
 }