• [ace-bugs] TCP Connection parameters in ACE

    From alwastudent md@21:1/5 to All on Sat Sep 19 13:49:34 2015
    To: ace-bugzilla@list.isis.vanderbilt.edu
    To: ace-users-bounces@list.isis.vanderbilt.edu
    To: ace-users@list.isis.vanderbilt.edu

    --001a1135cf2487f51c052016251e
    Content-Type: text/plain; charset=UTF-8

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

    --001a1135cf2487f51c052016251e
    Content-Type: text/html; charset=UTF-8

    <div dir="ltr"><div><div>Hi All,<br></div>How to set TCP Connection parameters, such as &quot;keep alive&quot; in ACE?<br></div>thanks<br><br></div>

    --001a1135cf2487f51c052016251e--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • 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 Douglas C. Schmidt@21:1/5 to alwastudent md on Sun Sep 27 08:22:01 2015
    To: ace-bugs@list.isis.vanderbilt.edu

    Hi,

    Thanks for using the PRF.

    ACE VERSION: 5.5.0

    Please upgrade to ACE+TAO+CIAO+DAnCE x.3.3 (i.e., ACE 6.3.3, TAO
    2.3.3, and CIAO+DAnCE 1.3.3), which you can download from

    http://download.dre.vanderbilt.edu

    The DOC group at Vanderbilt University only provides "best effort"
    support for non-sponsors for the latest release, as described in

    http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/docs/ACE-bug-process.html

    Thus, if you need more "predictable" help for earlier versions of
    ACE+TAO, I recommend that you check out

    http://www.dre.vanderbilt.edu/support.html

    for a list of companies that will provide you with ACE+TAO commercial
    support.

    Thanks,

    Doug


    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










    --- 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)