summaryrefslogtreecommitdiff
path: root/ACE/ace/SOCK_Dgram.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/SOCK_Dgram.h')
-rw-r--r--ACE/ace/SOCK_Dgram.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/ACE/ace/SOCK_Dgram.h b/ACE/ace/SOCK_Dgram.h
index b48f748d92a..ad8e2cbcb61 100644
--- a/ACE/ace/SOCK_Dgram.h
+++ b/ACE/ace/SOCK_Dgram.h
@@ -45,7 +45,8 @@ public:
ACE_SOCK_Dgram (const ACE_Addr &local,
int protocol_family = ACE_PROTOCOL_FAMILY_INET,
int protocol = 0,
- int reuse_addr = 0);
+ int reuse_addr = 0,
+ int ipv6_only = 0);
/**
* This is a QoS-enabed method for initiating a socket dgram that
@@ -58,14 +59,16 @@ public:
ACE_Protocol_Info *protocolinfo,
ACE_SOCK_GROUP g = 0,
u_long flags = 0,
- int reuse_addr = 0);
+ int reuse_addr = 0,
+ int ipv6_only = 0);
/// This is a BSD-style method (i.e., no QoS) for initiating a socket
/// dgram that will accept datagrams at the <local> address.
int open (const ACE_Addr &local,
int protocol_family = ACE_PROTOCOL_FAMILY_INET,
int protocol = 0,
- int reuse_addr = 0);
+ int reuse_addr = 0,
+ int ipv6_only = 0);
/**
* This is a QoS-enabed method for initiating a socket dgram that
@@ -78,7 +81,8 @@ public:
ACE_Protocol_Info *protocolinfo,
ACE_SOCK_GROUP g = 0,
u_long flags = 0,
- int reuse_addr = 0);
+ int reuse_addr = 0,
+ int ipv6_only = 0);
/// Default dtor.
~ACE_SOCK_Dgram (void);
@@ -206,7 +210,9 @@ public:
protected:
/// Open is shared by this and by <LSOCK_Dgram>.
- int shared_open (const ACE_Addr &local, int protocol_family);
+ int shared_open (const ACE_Addr &local,
+ int protocol_family,
+ int ipv6_only = 0);
/// Create a multicast addr/if pair, in format useful for system calls.
/// If mreq param is NULL, just verify the passed addr/interface specs.