namespace xClient.Core.Data { public class Host { /// /// Stores the hostname of the Host. /// /// /// Can be an IPv4 address or hostname. IPv6 support not tested. /// public string Hostname { get; set; } /// /// Stores the port of the Host. /// public ushort Port { get; set; } public override string ToString() { return Hostname + ":" + Port; } } }