/// <summary>
        /// 创建Socket监听&服务组件
        /// </summary>
        /// <param name="isUseDefaultCallback">是否使用tcppullAgent类默认回调函数</param>W
        /// <returns></returns>
        protected override bool CreateListener()
        {
            if (IsCreate || pListener != IntPtr.Zero || pAgent != IntPtr.Zero)
            {
                return(false);
            }

            if (pListener == IntPtr.Zero)
            {
                return(false);
            }

            pAgent = HPSocketSdk.Create_HP_TcpPullAgent(pListener);
            if (pAgent == IntPtr.Zero)
            {
                return(false);
            }

            IsCreate = true;

            return(true);
        }