Пример #1
0
        /// <summary>
        /// Closes the connection with the remote client.
        /// </summary>
        public void Close()
        {
            var thread = _threadMain; _c.Close();

            if (thread != null)
            {
                thread.Join();
            }
        }