/// <summary> /// Server controller. /// Create a new instance of the server controller and /// call the startserver method /// </summary> /// <param name="args"></param> static void Main(string[] args) { ServerController serverController = new ServerController(); serverController.StartServer(); }
private void btnStart_Click(object sender, EventArgs e) { sc.StartServer("localhost", txtServiceIP.Text); txtIO.Text += "\n Server Started!"; }