public bool EqualsInAddressPort(IceCandidate iceCandidate)
{
// check if IP Address and Port are equal
if (this.addr_port.ipaddr.Equals(iceCandidate.addr_port.ipaddr) &&
this.addr_port.port == iceCandidate.addr_port.port &&
this.addr_port.type == iceCandidate.addr_port.type)
{
return true;
}
else
return false;
}