using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Threading.Tasks; namespace LangGuan.Command.Model { /// /// scoket /// public class SocketModel { /// /// 缓冲器 /// private byte[] result = new byte[1024]; /// /// 最大连接数 /// private int maxClientCount; /// /// 服务IP地址 /// private string ip; /// /// 服务端口号 /// private int port; // 编码 // private string code; /// /// 客户端列表 /// private List ClientSockets; /// /// IP终端 /// private IPEndPoint ipEndPoint; /// /// 服务端Socket /// private Socket ServerSocket; /// /// 当前客户端Socket /// private Socket ClientSocket; } }