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