<div dir="ltr"><div><br>Subject: [Service_repository]: [how to remove service from repository ]<br><br>    ACE VERSION: 5.5.0<br><br>    HOST MACHINE and OPERATING SYSTEM:<br>      linux RHEL6.5<br><br>    TARGET MACHINE and OPERATING SYSTEM,<br></div>      linux RHEL6.5  gcc 4.4.7   20120313 <br><div><br>    THE $ACE_ROOT/ace/config.h FILE :<br>      #include "ace/config-linux.h"<br><br><br>    THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE:<br>     include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU<br>    gl=1 <br>    ssl=1<br><br><br>    CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features<br>    (used by MPC when you generate your own makefiles):<br><br>   <br>    SYNOPSIS:<br></div><div>    when i try to remove a service (socket) from repository, program crash, i.e<br></div><div>   <br>    DESCRIPTION:<br><br> i can do this:<br>    ACE_Service_Repository::instance()->remove(MySocket)<br></div><div> because the process crash,<br></div><div>pleas help me hw to remove s service and get rid of from socket in  ACE_Service_Repository</div><div> <br></div><div>   <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 20, 2015 at 5:20 AM, Douglas C. Schmidt <span dir="ltr"><<a href="mailto:schmidt@dre.vanderbilt.edu" target="_blank">schmidt@dre.vanderbilt.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi,<br>
<br>
To ensure that we have proper version/platform/compiler information,<br>
please make sure you fill out the appropriate problem report form (PRF),<br>
which is in<br>
<br>
$ACE_ROOT/PROBLEM-REPORT-FORM<br>
$TAO_ROOT/PROBLEM-REPORT-FORM<br>
<br>
or in<br>
<br>
$ACE_ROOT/BUG-REPORT-FORM<br>
$TAO_ROOT/BUG-REPORT-FORM<br>
<br>
in older versions of ACE, TAO, CIAO, and DAnCE.  Make sure to include<br>
this information when asking any questions since otherwise we have to<br>
"guess" what version/platform/compiler/options you've using, which is<br>
very error-prone and slows down our responsiveness.  If you don't use<br>
the PRF, therefore, it is less likely that someone from the core<br>
developer team will be able to answer your question.  Naturally, we<br>
encourage and appreciate other members of the ACE, TAO, CIAO, and<br>
DAnCE user community who can respond to questions that they have the<br>
answers to.<br>
<span class=""><br>
> How to set TCP Connection parameters, such as "keep alive" in ACE?<br>
<br>
</span>Assuming you've got an ACE_SOCK_Stream object called "stream", you can<br>
do it like this:<br>
<br>
stream.set_option (SOL_SOCKET,<br>
                   SO_KEEPALIVE,<br>
                   &bufsiz,<br>
                   sizeof bufsiz);<br>
<br>
Doug<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div>