summaryrefslogtreecommitdiff
path: root/ace/SOCK_Dgram_Bcast.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SOCK_Dgram_Bcast.h')
-rw-r--r--ace/SOCK_Dgram_Bcast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/SOCK_Dgram_Bcast.h b/ace/SOCK_Dgram_Bcast.h
index e16c0d2296b..aed64950c25 100644
--- a/ace/SOCK_Dgram_Bcast.h
+++ b/ace/SOCK_Dgram_Bcast.h
@@ -57,7 +57,7 @@ public:
ACE_SOCK_Dgram_Bcast (void);
ACE_SOCK_Dgram_Bcast (const ACE_Addr &local,
- int protocol_family = PF_INET,
+ int protocol_family = ACE_PROTOCOL_FAMILY_INET,
int protocol = 0,
int reuse_addr = 0,
const ACE_TCHAR *host_name = 0);
@@ -69,7 +69,7 @@ public:
/// Initiate a connectionless datagram broadcast endpoint.
int open (const ACE_Addr &local,
- int protocol_family = PF_INET,
+ int protocol_family = ACE_PROTOCOL_FAMILY_INET,
int protocol = 0,
int reuse_addr = 0,
const ACE_TCHAR *host_name = 0);