public bool Equals(ecoServerProtocol.ServerTypes protocol, IPEndPoint endpoint) { return(this.AddressFamily == endpoint.AddressFamily && base.Port == endpoint.Port && base.Address.Equals(endpoint.Address) && this.Protocol == protocol); }
public ServerEndPoint(ecoServerProtocol.ServerTypes protocol, IPAddress address, int port) : base(address, port) { this.Protocol = protocol; }
public ServerEndPoint(ecoServerProtocol.ServerTypes protocol, IPEndPoint endpoint) : base(endpoint.Address, endpoint.Port) { this.Protocol = protocol; }
public ProtocolAndPort(ecoServerProtocol.ServerTypes protocol, int port) { this.Protocol = protocol; this.Port = port; }