调整网络架构,主要是抽象出三大接口,用于统一网络操作
nnhy authored at 2011-12-21 17:39:07
373.00 B
X
using System.Net.Sockets;
using NewLife.Model;

namespace NewLife.Net.Sockets
{
    /// <summary>Socket服务器接口</summary>
    public interface ISocketServer : ISocket, IServer
    {
        /// <summary>是否活动</summary>
        bool Active { get; }

        /// <summary>基础Socket对象</summary>
        Socket Server { get; set; }
    }
}