コード例 #1
0
ファイル: SocketListener.cs プロジェクト: wpmyj/c3
        /// <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();
        }
コード例 #2
0
ファイル: SocketListener.cs プロジェクト: hkiaipc/C3
        /// <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();
        }