예제 #1
0
 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);
 }
예제 #2
0
 public ServerEndPoint(ecoServerProtocol.ServerTypes protocol, IPAddress address, int port) : base(address, port)
 {
     this.Protocol = protocol;
 }
예제 #3
0
 public ServerEndPoint(ecoServerProtocol.ServerTypes protocol, IPEndPoint endpoint) : base(endpoint.Address, endpoint.Port)
 {
     this.Protocol = protocol;
 }
예제 #4
0
 public ProtocolAndPort(ecoServerProtocol.ServerTypes protocol, int port)
 {
     this.Protocol = protocol;
     this.Port     = port;
 }