private void HostForm_Load(object sender, EventArgs e)
        {
            this.Location         = new Point(Screen.PrimaryScreen.Bounds.Width / 2 - this.Width / 2, 0);
            ServerHost.parentForm = this;
            ServerHost.Start();

            new Task(() => ServerHost.Listen()).Start();
        }
 private void CeaseConnection(string message)
 {
     ServerHost.isOnline = false;
     ServerHost.Stop(new ServerErrorHandler(message));
 }