diff options
author | jha <jha@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-07-10 13:02:29 +0000 |
---|---|---|
committer | jha <jha@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-07-10 13:02:29 +0000 |
commit | d9b4adb18d862f77ae2b9222626344b08c5f01db (patch) | |
tree | e18aa69e7c2cdb35d62b34f4a4bc07ca5662649d | |
parent | 3aae872e8356892dc871951756a4a85113893252 (diff) | |
download | ATCD-d9b4adb18d862f77ae2b9222626344b08c5f01db.tar.gz |
Changed PF_INET to ACE_PROTOCOL_FAMILY_INET. Multicast may work in specific
cases, but not all. In particular, when it trys to search for all interfaces.
-rw-r--r-- | ace/SOCK_Dgram_Bcast.h | 4 | ||||
-rw-r--r-- | ace/SOCK_Dgram_Mcast.h | 10 |
2 files changed, 7 insertions, 7 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); 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 |