Exemple #1
0
        public void Stop()
        {
            if (Client != null)
            {
                Client.Stop();
                Client = null;
            }

            if (Server != null)
            {
                Server.Stop();
                Server = null;
            }
        }
Exemple #2
0
        public void Stop()
        {
            if (Client != null)
            {
                Client.Stop();
                Client = null;
            }

            if (Server != null)
            {
                Server.Stop();
                Server = null;
                GhostNetWatchdog.StopWatchdog();
            }
        }