private void Start_Click(object sender, EventArgs e) { SetupDownloadDir(Directory.GetCurrentDirectory() + @"/Downloads/"); RunningPlatform(); GetCurrentFiles(); irc = new SimpleIRC(); webserver = new HttpServer(HttpMessageReceived, port); webserver.SetWebHomeDir(Directory.GetCurrentDirectory() + @"/"); webserver.SetFileDir(Directory.GetCurrentDirectory() + "/Downloads"); webserver.SetDefaultPage("index.html"); streamserver = new HttpServer(HttpMessageReceived, port + 1); streamserver.SetWebHomeDir(Directory.GetCurrentDirectory() + @"/Downloads"); streamserver.SetFileDir(Directory.GetCurrentDirectory() + "/Downloads"); streamserver.SetDefaultPage("index.html"); State.Text = "Running (" + GetLocalIPAddress() + ":" + port.ToString() + ")"; }