summaryrefslogtreecommitdiff
path: root/ace/SOCK_Dgram_Mcast.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-03 19:13:21 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-03 19:13:21 +0000
commitb905399700cdb47211c8b004e64717824d019035 (patch)
tree7b7968f868dee77552a559d93156665ec0756edb /ace/SOCK_Dgram_Mcast.h
parentdded054c6a2dd6522fb9daf07c291b7196169547 (diff)
downloadATCD-b905399700cdb47211c8b004e64717824d019035.tar.gz
.
Diffstat (limited to 'ace/SOCK_Dgram_Mcast.h')
-rw-r--r--ace/SOCK_Dgram_Mcast.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/ace/SOCK_Dgram_Mcast.h b/ace/SOCK_Dgram_Mcast.h
index b0ecf9e1327..b74db60e6da 100644
--- a/ace/SOCK_Dgram_Mcast.h
+++ b/ace/SOCK_Dgram_Mcast.h
@@ -66,12 +66,12 @@ public:
// these numbers in alphanumeric form and <subscribe> will convert
// them into numbers via <ACE_OS::atoi>.
- ACE_HANDLE subscribe (const ACE_INET_Addr &mcast_addr,
- const ACE_QoS_Params &qos_params,
- int reuse_addr = 1,
- const ASYS_TCHAR *net_if = 0,
- int protocol_family = PF_INET,
- int protocol = 0);
+ int subscribe (const ACE_INET_Addr &mcast_addr,
+ const ACE_QoS_Params &qos_params,
+ int reuse_addr = 1,
+ const ASYS_TCHAR *net_if = 0,
+ int protocol_family = PF_INET,
+ int protocol = 0);
// This is a QoS-enabled method for joining a multicast group, which
// passes <qos_params> via <ACE_OS::join_leaf>. The network
// interface device driver is instructed to accept datagrams with
@@ -82,8 +82,7 @@ public:
// The <net_if> interface is hardware specific, e.g., use "netstat
// -i" to find whether your interface is, such as "le0" or something
// else. If net_if == 0, <subscribe> uses the default mcast
- // interface. Returns: an <ACE_HANDLE> to the newly created
- // multipoint socket on success or ACE_INVALID_HANDLE on failure.
+ // interface. Returns: a 0 on success or -1 on failure.
//
// Note that some platforms, such as pSoS, support only number, not
// names, for network interfaces. For these platforms, just give