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.

31 lines
618 B

using System;
using System.Collections.Generic;
using System.Text;
namespace Apewer.Network
{
/// <summary>套接字的终端。</summary>
[Serializable]
public sealed class SocketEndPoint
{
/// <summary>对端 IP 地址。</summary>
public string IP { get; set; }
/// <summary>对端端口。</summary>
public int Port { get; set; }
/// <summary></summary>
public SocketEndPoint() { }
/// <summary></summary>
public SocketEndPoint(string ip, int port)
{
IP = ip;
Port = port;
}
}
}