using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IStation { /// /// IP与Port的结构 /// public struct TcpIPAndPort { public TcpIPAndPort(string ip, int port) { this.IP = ip; this.Port = port; } /// /// IP /// public string IP { get; set; } /// /// 端口 /// public int Port { get; set; } } }