-
Notifications
You must be signed in to change notification settings - Fork 35
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
The socket shutdown always gives EINVAL #2
Comments
nn_close() should not return EINVAL, ever. Seems like a bug. I'll look into this later on. |
Any status on this and the other issue opened, or is this repository no longer maintained? |
Best estimate, dead on the vine. You're free to fork and run with it. |
Hi: Example: it is not the bug of nn_close() |
in file RpcServer.cc change sock.shutdown (0) to sock.shutdown (sockid) such as following: |
Hi:
I am trying to make a proof-of-concept RPC with nanomsg and google protobuf.
The shutdown always gives EINVAL, what am I doing wrong ?
Example:
https://github.com/sroycode/nanorpc/blob/master/EchoClient.cc
line no 50 (commented out)
The text was updated successfully, but these errors were encountered: