We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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.
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);
Compiling TimeServerTCP.
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
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Unix domain socket does not work on RemotingNG ServerHelper::enableEvents() Method.
Steps to Reproduce
modify /platform/RemotingNG/samples/TimeServerTCP/TimeServer.cpp line 91-93 as following:
Compiling TimeServerTCP.
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
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
The text was updated successfully, but these errors were encountered: