Esempio n. 1
0
 public Service()
 {
     InitializeComponent();
     _server = new ConnectsterServer();
     var job = new ThreadStart(_server.Start);
     _thread = new Thread(job);
 }
        static void Main()
        {
            //Initialize Logging
            XmlConfigurator.Configure();

            //Start server
            var server = new ConnectsterServer();
            server.Start();
        }