summaryrefslogtreecommitdiff
path: root/ACE/ace/INET_Addr.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/INET_Addr.h')
-rw-r--r--ACE/ace/INET_Addr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ACE/ace/INET_Addr.h b/ACE/ace/INET_Addr.h
index 76672eb265c..f9cbf08a69f 100644
--- a/ACE/ace/INET_Addr.h
+++ b/ACE/ace/INET_Addr.h
@@ -344,6 +344,10 @@ public:
/// Compare two addresses for inequality.
bool operator != (const ACE_INET_Addr &SAP) const;
+ /// A variation of the equality operator, this method only compares the
+ /// IP address and ignores the port number.
+ bool is_ip_equal (const ACE_INET_Addr &SAP) const;
+
/// Computes and returns hash value.
virtual u_long hash (void) const;