using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
namespace HaoYueNet.ServerNetwork.Standard2
{
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 MemoryStream memoryStream { get; set; }
public AsyncUserToken()
{
//this.Buffer = new List();
this.memoryStream = new MemoryStream();
}
///
/// 响应倒计时计数
///
public int RevIndex { get; set; } = 0;
///
/// 发送倒计时计数
///
public int SendIndex { get; set; } = 0;
}
}