diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-06-21 01:55:06 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-06-21 01:55:06 +0000 |
commit | 7d38a5ce188590b7d9e88b469e111c38cfde7771 (patch) | |
tree | e45ae872188edeaaccc39e253f2d403289271e53 /ace/Acceptor.cpp | |
parent | b25c2e2a3f053800947dce8cdcfd6bc1398e94e3 (diff) | |
download | ATCD-7d38a5ce188590b7d9e88b469e111c38cfde7771.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Acceptor.cpp')
-rw-r--r-- | ace/Acceptor.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ace/Acceptor.cpp b/ace/Acceptor.cpp index 05276762fc8..9ab36352a90 100644 --- a/ace/Acceptor.cpp +++ b/ace/Acceptor.cpp @@ -54,10 +54,12 @@ template <class SVC_HANDLER, ACE_PEER_ACCEPTOR_1> int ACE_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::open (const ACE_PEER_ACCEPTOR_ADDR &local_addr, ACE_Reactor *reactor, - int flags) + int flags, + int use_select) { ACE_TRACE ("ACE_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::open"); this->flags_ = flags; + this->use_select_ = use_select; // Must supply a valid Reactor to Acceptor::open()... @@ -94,12 +96,11 @@ ACE_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::ACE_Acceptor (const ACE_PEER_ACCEPTOR_ADDR &addr, ACE_Reactor *reactor, int flags, - use_select) - : use_select_ (use_select) + int use_select) { ACE_TRACE ("ACE_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::ACE_Acceptor"); - if (this->open (addr, reactor, flags) == -1) + if (this->open (addr, reactor, flags, use_select) == -1) ACE_ERROR ((LM_ERROR, ASYS_TEXT ("%p\n"), ASYS_TEXT ("ACE_Acceptor::ACE_Acceptor"))); |