• [ace-users] [ace-bugs] TCP Connection parameters in ACE

    From Douglas C. Schmidt@21:1/5 to alwastudent md on Sat Sep 19 20:50:39 2015
    Copy: ace-users@list.isis.vanderbilt.edu
    Copy: ace-bugzilla@list.isis.vanderbilt.edu
    Copy: ace-bugs@list.isis.vanderbilt.edu
    Copy: ace-users-bounces@list.isis.vanderbilt.edu

    Hi,

    To ensure that we have proper version/platform/compiler information,
    please make sure you fill out the appropriate problem report form (PRF),
    which is in

    $ACE_ROOT/PROBLEM-REPORT-FORM
    $TAO_ROOT/PROBLEM-REPORT-FORM

    or in

    $ACE_ROOT/BUG-REPORT-FORM
    $TAO_ROOT/BUG-REPORT-FORM

    in older versions of ACE, TAO, CIAO, and DAnCE. Make sure to include
    this information when asking any questions since otherwise we have to
    "guess" what version/platform/compiler/options you've using, which is
    very error-prone and slows down our responsiveness. If you don't use
    the PRF, therefore, it is less likely that someone from the core
    developer team will be able to answer your question. Naturally, we
    encourage and appreciate other members of the ACE, TAO, CIAO, and
    DAnCE user community who can respond to questions that they have the
    answers to.

    How to set TCP Connection parameters, such as "keep alive" in ACE?

    Assuming you've got an ACE_SOCK_Stream object called "stream", you can
    do it like this:

    stream.set_option (SOL_SOCKET,
    SO_KEEPALIVE,
    &bufsiz,
    sizeof bufsiz);

    Doug

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From alwastudent md@21:1/5 to schmidt@dre.vanderbilt.edu on Sun Sep 27 16:38:16 2015
    --001a11495dec2900be0520ba461e
    Content-Type: text/plain; charset=UTF-8

    Subject: [Service_repository]: [how to remove service from repository ]

    ACE VERSION: 5.5.0

    HOST MACHINE and OPERATING SYSTEM:
    linux RHEL6.5

    TARGET MACHINE and OPERATING SYSTEM,
    linux RHEL6.5 gcc 4.4.7 20120313

    THE $ACE_ROOT/ace/config.h FILE :
    #include "ace/config-linux.h"


    THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE:
    include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
    gl=1
    ssl=1


    CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
    (used by MPC when you generate your own makefiles):


    SYNOPSIS:
    when i try to remove a service (socket) from repository, program crash,
    i.e

    DESCRIPTION:

    i can do this:
    ACE_Service_Repository::instance()->remove(MySocket)
    because the process crash,
    pleas help me hw to remove s service and get rid of from socket in ACE_Service_Repository



    On Sun, Sep 20, 2015 at 5:20 AM, Douglas C. Schmidt < schmidt@dre.vanderbilt.edu> wrote:


    Hi,

    To ensure that we have proper version/platform/compiler information,
    please make sure you fill out the appropriate problem report form (PRF), which is in

    $ACE_ROOT/PROBLEM-REPORT-FORM
    $TAO_ROOT/PROBLEM-REPORT-FORM

    or in

    $ACE_ROOT/BUG-REPORT-FORM
    $TAO_ROOT/BUG-REPORT-FORM

    in older versions of ACE, TAO, CIAO, and DAnCE. Make sure to include
    this information when asking any questions since otherwise we have to
    "guess" what version/platform/compiler/options you've using, which is
    very error-prone and slows down our responsiveness. If you don't use
    the PRF, therefore, it is less likely that someone from the core
    developer team will be able to answer your question. Naturally, we
    encourage and appreciate other members of the ACE, TAO, CIAO, and
    DAnCE user community who can respond to questions that they have the
    answers to.

    How to set TCP Connection parameters, such as "keep alive" in ACE?

    Assuming you've got an ACE_SOCK_Stream object called "stream", you can
    do it like this:

    stream.set_option (SOL_SOCKET,
    SO_KEEPALIVE,
    &bufsiz,
    sizeof bufsiz);

    Doug









    --001a11495dec2900be0520ba461e
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    <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 &quot;ace/config-linux.h&quot;<br><br><br>    THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE:<
         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()-&gt;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">&lt;<a href="mailto:schmidt@dre.vanderbilt.edu" target="_blank">schmidt@dre.vanderbilt.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-
    left:1px #ccc solid;padding-left:1ex"><br>
    Hi,<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>

    $ACE_ROOT/PROBLEM-REPORT-FORM<br>
    $TAO_ROOT/PROBLEM-REPORT-FORM<br>

    or in<br>

    $ACE_ROOT/BUG-REPORT-FORM<br>
    $TAO_ROOT/BUG-REPORT-FORM<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> &quot;guess&quot; what version/platform/compiler/options you&#39;ve using, which is<br>
    very error-prone and slows down our responsiveness.  If you don&#39;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>
    &gt; How to set TCP Connection parameters, such as &quot;keep alive&quot; in ACE?<br>

    </span>Assuming you&#39;ve got an ACE_SOCK_Stream object called &quot;stream&quot;, you can<br>
    do it like this:<br>

    stream.set_option (SOL_SOCKET,<br>
                       SO_KEEPALIVE,<br>
                       &amp;bufsiz,<br>
                       sizeof bufsiz);<br>

    Doug<br>







    </blockquote></div><br></div>

    --001a11495dec2900be0520ba461e--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)