Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACE register handler issue #2075

Open
vastolorde-ichi opened this issue Jun 10, 2023 · 0 comments
Open

ACE register handler issue #2075

vastolorde-ichi opened this issue Jun 10, 2023 · 0 comments

Comments

@vastolorde-ichi
Copy link

Version

ACE - 7.0.10

Host machine and operating system

Ubuntu - 22.04

Target machine and operating system (if different from host)

Ubuntu - 22.04

Compiler name and version (including patch level)

g++ 11.3.0

The $ACE_ROOT/ace/config.h file

#include "ace/config-linux.h"
#define ACE_HAS_IPV6 1

I

The $ACE_ROOT/include/makeinclude/platform_macros.GNU file

include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
INSTALL_PREFIX = /usr/local

Contents of $ACE_ROOT/bin/MakeProjectCreator/config/default.features

*_ROOT
TAO_ROOT, $ACE_ROOT/TAO
CIAO_ROOT, $TAO_ROOT/CIAO

AREA/CLASS/EXAMPLE AFFECTED:

virtual int register_handler (ACE_HANDLE io_handle, ACE_Event_Handler *event_handler, ACE_Reactor_Mask mask);

Example:
register_handler(handle ,handler, ACE_Event_Handler::READ_MASK)

The problem effects:

Failed to register the handler at client side due to invalid argument error. when the server gets restarted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant