/// <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();
        }
Exemplo n.º 2
0
 private void btnStart_Click(object sender, EventArgs e)
 {
     sc.StartServer("localhost", txtServiceIP.Text);
     txtIO.Text += "\n Server Started!";
 }