diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-02-28 20:13:32 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-02-28 20:13:32 +0000 |
commit | bfa1e90ba0c3711a2a74edfae03b3aa9bdd4ec36 (patch) | |
tree | 2a3da2a69b30260cb8cbb027c38afe60a7262240 /ace/SOCK_Dgram.cpp | |
parent | 915bcc45e3d686524f7bd3f806fdc79ae3c2ae18 (diff) | |
download | ATCD-bfa1e90ba0c3711a2a74edfae03b3aa9bdd4ec36.tar.gz |
foo
Diffstat (limited to 'ace/SOCK_Dgram.cpp')
-rw-r--r-- | ace/SOCK_Dgram.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ace/SOCK_Dgram.cpp b/ace/SOCK_Dgram.cpp index 94238b50ca5..f8b1e07d813 100644 --- a/ace/SOCK_Dgram.cpp +++ b/ace/SOCK_Dgram.cpp @@ -84,8 +84,9 @@ ACE_SOCK_Dgram::shared_open (const ACE_Addr &local, int protocol_family) ACE_SOCK_Dgram::ACE_SOCK_Dgram (const ACE_Addr &local, int protocol_family, - int protocol) - : ACE_SOCK (SOCK_DGRAM, protocol_family, protocol) + int protocol, + int reuse_addr) + : ACE_SOCK (SOCK_DGRAM, protocol_family, protocol, reuse_addr) { ACE_TRACE ("ACE_SOCK_Dgram::ACE_SOCK_Dgram"); if (this->shared_open (local, protocol_family) == -1) @@ -97,11 +98,12 @@ ACE_SOCK_Dgram::ACE_SOCK_Dgram (const ACE_Addr &local, int ACE_SOCK_Dgram::open (const ACE_Addr &local, int protocol_family, - int protocol) + int protocol, + int reuse_addr) { ACE_TRACE ("ACE_SOCK_Dgram::open"); if (ACE_SOCK::open (SOCK_DGRAM, protocol_family, - protocol) == -1) + protocol, reuse_addr) == -1) return -1; else return this->shared_open (local, protocol_family); |