You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
918 B
37 lines
918 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Net;
|
|
|
|
namespace NET
|
|
{
|
|
/// <summary>
|
|
/// 功能:基于TCP协议的终端节点信息
|
|
/// 作者:王昊昇
|
|
/// 时间:2012.2.8
|
|
/// </summary>
|
|
public class RemoteEndPoint : EndPoint
|
|
{
|
|
/// <summary>
|
|
/// IP地址
|
|
/// </summary>
|
|
public IPAddress IP { get; set; }
|
|
/// <summary>
|
|
/// 端口号
|
|
/// </summary>
|
|
public int Port { get; set; }
|
|
/// <summary>
|
|
/// 等待连接的最大数量
|
|
/// </summary>
|
|
public int ConnectionLength { get; set; }
|
|
/// <summary>
|
|
/// 线程数量
|
|
/// </summary>
|
|
public int ThreadLength { get; set; }
|
|
/// <summary>
|
|
/// 服务器允许的超时时间
|
|
/// </summary>
|
|
public int Timeout { get; set; }
|
|
}
|
|
}
|
|
|