summaryrefslogtreecommitdiff
path: root/ace/SOCK_Dgram_Mcast.i
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SOCK_Dgram_Mcast.i')
-rw-r--r--ace/SOCK_Dgram_Mcast.i31
1 files changed, 31 insertions, 0 deletions
diff --git a/ace/SOCK_Dgram_Mcast.i b/ace/SOCK_Dgram_Mcast.i
new file mode 100644
index 00000000000..835a3bbd135
--- /dev/null
+++ b/ace/SOCK_Dgram_Mcast.i
@@ -0,0 +1,31 @@
+/* -*- C++ -*- */
+// $Id$
+
+// SOCK_Dgram_Mcast.i
+
+inline int
+ACE_SOCK_Dgram_Mcast::set_option (int option,
+ char optval)
+{
+ ACE_TRACE ("ACE_SOCK_Dgram_Mcast::set_option");
+ return this->ACE_SOCK::set_option (IPPROTO_IP, option,
+ &optval, sizeof (char));
+}
+
+inline ssize_t
+ACE_SOCK_Dgram_Mcast::send (const void *buf,
+ size_t n, int flags) const
+{
+ ACE_TRACE ("ACE_SOCK_Dgram_Mcast::send");
+ return this->ACE_SOCK_Dgram::send (buf, n,
+ this->mcast_addr_, flags);
+}
+
+inline ssize_t
+ACE_SOCK_Dgram_Mcast::send (const iovec iov[],
+ size_t n, int flags) const
+{
+ ACE_TRACE ("ACE_SOCK_Dgram_Mcast::send");
+ return this->ACE_SOCK_Dgram::send (iov, n,
+ this->mcast_addr_, flags);
+}