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

Unix domain socket does not work on RemotingNG ServerHelper::enableEvents() Method #114

Open
a1928370421 opened this issue Jul 29, 2022 · 0 comments

Comments

@a1928370421
Copy link

Describe the bug

Unix domain socket does not work on RemotingNG ServerHelper::enableEvents() Method.

Steps to Reproduce

  1. modify /platform/RemotingNG/samples/TimeServerTCP/TimeServer.cpp line 91-93 as following:

     	// register TCP listener
     	Poco::RemotingNG::TCP::Listener::Ptr pListener = new 
            Poco::RemotingNG::TCP::Listener("/home/yidan/timeserver.sock");//using unix domain socket
     	std::string listener = Poco::RemotingNG::ORB::instance().registerListener(pListener);
    
  2. Compiling TimeServerTCP.

  3. The output we get:

Listener registered for protocol: tcp and endpoint:
Registered RemoteObject, path: tcp/%2Fhome%2Fyidan%2Ftimeserver.sock/Services.TimeService/TheClock, URI: remoting.unix://%2Fhome%2Fyidan%2Ftimeserver.sock/tcp/Services.TimeService/TheClock
Not found: remote object: remoting.unix://%2fhome%2fyidan%2ftimeserver.sock/tcp/Services.TimeService/TheClock

macchina.io Version

  • 2020.1
  • 2021.1
  • 2022.1

Compiler and Version

gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)

Operating System and Version

Linux yidan-dev-Virtual-Machine 5.4.0-120-generic #136~18.04.1-Ubuntu SMP Fri Jun 10 18:00:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

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

No branches or pull requests

1 participant