public static bool Equals(NodeBasic n1, NodeBasic n2) { if ((n1.getIP().ToString() == n2.getIP().ToString())) //hashedIPs should be equal if IPs are equal; so need to check { return(true); } else { return(false); } }
public ProxyNode(IPAddress ip) { selfNodeBasic = new NodeBasic(ip); }
public static bool Equals(NodeBasic n1, NodeBasic n2) { if ((n1.getIP().ToString() == n2.getIP().ToString())) //hashedIPs should be equal if IPs are equal; so need to check return true; else return false; }