summaryrefslogtreecommitdiff
path: root/ace/SOCK_Dgram_Mcast.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SOCK_Dgram_Mcast.h')
-rw-r--r--ace/SOCK_Dgram_Mcast.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ace/SOCK_Dgram_Mcast.h b/ace/SOCK_Dgram_Mcast.h
index 7d9269f0bd4..a2f03561e81 100644
--- a/ace/SOCK_Dgram_Mcast.h
+++ b/ace/SOCK_Dgram_Mcast.h
@@ -68,7 +68,7 @@ public:
int subscribe (const ACE_INET_Addr &mcast_addr,
int reuse_addr = 1,
const ACE_TCHAR *net_if = 0,
- int protocol_family = PF_INET,
+ int protocol_family = ACE_PROTOCOL_FAMILY_INET,
int protocol = 0);
/**
@@ -85,7 +85,7 @@ public:
*/
int unsubscribe (const ACE_INET_Addr &mcast_addr,
const ACE_TCHAR *net_if = 0,
- int protocol_family = PF_INET,
+ int protocol_family = ACE_PROTOCOL_FAMILY_INET,
int protocol = 0);
/// Unsubscribe from a multicast group. Returns -1 if the call
@@ -125,14 +125,14 @@ private:
/// Not publically visible.
int open (const ACE_Addr &mcast_addr,
- int protocol_family = PF_INET,
+ int protocol_family = ACE_PROTOCOL_FAMILY_INET,
int protocol = 0,
int reuse_addr = 0);
/// Not publically visible.
int open (const ACE_Addr &mcast_addr,
const ACE_QoS_Params &qos_params,
- int protocol_family = PF_INET,
+ int protocol_family = ACE_PROTOCOL_FAMILY_INET,
int protocol = 0,
ACE_Protocol_Info *protocolinfo = 0,
ACE_SOCK_GROUP g = 0,
@@ -151,7 +151,7 @@ private:
/// <subscribe_ifs>.
int unsubscribe_ifs (const ACE_INET_Addr &mcast_addr,
const ACE_TCHAR *net_if = 0,
- int protocol_family = PF_INET,
+ int protocol_family = ACE_PROTOCOL_FAMILY_INET,
int protocol = 0);
// = Disable public use of <ACE_SOCK_Dgram::send>s