[Ace-users] [ace-users] Configure number of connections ACE_Acceptor will accept
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Thu Feb 28 13:53:23 CST 2008
Hi Mitch,
Thanks for the version info.
>acetao-1.5.1.0 Windows XP
>Will have to run down PROBLEM-REPORT-FORM as our sys admin did not
>place it in $ACE_ROOT
>
>I attempted to limit the number of connection in the
>Gateway::ConnectionAcceptor::make_svc_handler by not instantiating a
>new SvcHandler and returning from the method if svcHandler_ was not
>0. When I returned 0, my process core dumped. What should be
>returned?
I think you need to return -1 from make_svc_handler(). BTW, this is
discussed/illustrated in Chapter 7 of C++NPv2
<www.cs.wustl.edu/~schmidt/ACE/book2/>.
Thanks,
Doug
--
Dr. Douglas C. Schmidt Professor and Associate Chair
Electrical Engineering and Computer Science TEL: (615) 343-8197
Vanderbilt University WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203 NET: d.schmidt at vanderbilt.edu
More information about the Ace-users
mailing list