利用插件整理代码,排序和移除不需要的引用。小心.Net2/.Net4的兼容问题
nnhy authored at 2012-12-08 10:14:21
721.00 B
X_NET20
using System.Net.Sockets;
using NewLife.Net.Sockets;

namespace NewLife.Net.Pop3
{
    /// <summary>Pop3服务器</summary>
    public class Pop3Server : NetServer<Pop3Session>
    {
        //TODO 未实现Pop3服务端

        #region 属性
        //private Dictionary<Int32, Pop3Session> _Sessions;
        ///// <summary>会话集合</summary>
        //public IDictionary<Int32, Pop3Session> Sessions { get { return _Sessions ?? (_Sessions = new Dictionary<int, Pop3Session>()); } }
        #endregion

        /// <summary>实例化一个Pop3服务器</summary>
        public Pop3Server()
        {
            Port = 110;
            ProtocolType = ProtocolType.Tcp;
        }
    }
}