예제 #1
0
 public static void RestartServer()
 {
     connector?.Kill();
     connector?.netConn?.Kill();
     connector = null;
     StartServer();
 }
예제 #2
0
        public static void StartServer()
        {
            logger.Trace("Starting UI Vanguard Implementation");

            var spec = new NetCoreReceiver();

            spec.MessageReceived += OnMessageReceived;

            spec.Attached = CorruptCore.RtcCore.Attached;

            connector = new UIConnector(spec);
        }