using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; namespace HaoYueNet.ServerNetwork { public class AsyncUserToken { /// /// 客户端IP地址 /// public IPAddress IPAddress { get; set; } /// /// 远程地址 /// public EndPoint Remote { get; set; } /// /// 通信SOKET /// public Socket Socket { get; set; } /// /// 连接时间 /// public DateTime ConnectTime { get; set; } /// /// 所属用户信息 /// public object UserInfo { get; set; } /// /// 数据缓存区 /// public List Buffer { get; set; } public AsyncUserToken() { this.Buffer = new List(); } /// /// 响应倒计时计数 /// public int RevIndex { get; set; } = 0; /// /// 发送倒计时计数 /// public int SendIndex { get; set; } = 0; } }