[ace-users] [ace-bugs] TCP Connection parameters in ACE
alwastudent md
alwaystudent at gmail.com
Sun Sep 27 08:08:16 CDT 2015
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 at 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
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20150927/e212b28b/attachment.html>
More information about the ace-users
mailing list