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

fail to connect to segment localhost #1

Open
damian123 opened this issue Nov 23, 2016 · 0 comments
Open

fail to connect to segment localhost #1

damian123 opened this issue Nov 23, 2016 · 0 comments

Comments

@damian123
Copy link

I ran the test echo server but I am getting an error:
"fail to connect to segment localhost"

pbRPCpp\src\ShmRpcServer.cpp

 void ShmRpcServer::Run() {
      if( ! inQueue_->startCreate(segmentName_ + "-c2s", boost::bind( &ShmRpcServer::messageReceived, this, _1))
          || ! outQueue_->startCreate(segmentName_ + "-s2c") )
      {
-->   GOOGLE_LOG(FATAL) << "fail to connect to segment " << segmentName_;
      }
    }am running server.cpp main() with the port number 234234

I am wondering why we add "-c2s" to the segment name

env: Windows 10, Visual Studio 2015. Compiled for x86
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