Exemple #1
0
        /// <summary>
        ///
        /// </summary>
        public new void Start()
        {
            try
            {
                base.Start();
            }
            catch (SocketException socketEx)
            {
                string msg = string.Format(
                    "listen port '{0}' fail",
                    this.LocalEndpoint
                    );

                C3Exception c3ex = new C3Exception(msg, socketEx);
                throw c3ex;
            }
            this.BeginAcceptSocketHelper();
        }
Exemple #2
0
        /// <summary>
        /// 
        /// </summary>
        public new void Start()
        {
            try
            {
                base.Start();
            }
            catch (SocketException socketEx)
            {
                string msg = string.Format (
                    "listen port '{0}' fail",
                    this.LocalEndpoint
                    );

                C3Exception c3ex = new C3Exception(msg, socketEx);
                throw c3ex;
            }
            this.BeginAcceptSocketHelper();
        }