kuncao
kuncao
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...
in file RpcServer.cc change sock.shutdown (0) to sock.shutdown (sockid) such as following: void nrpc::RpcServer::Close() { if (sockid>0) { //sock.shutdown (0);//this is commented by jack at 20161114 sock.shutdown (sockid);//this is added...
code example https://github.com/nanomsg/nanomsg/issues/832
@sroycode @sburke56 I reproduced the issue the detail is in https://github.com/nanomsg/cppnanomsg/issues/2
@levitte @mspncp Thanks a lot for your quick response . I will check the version.
@mspncp openssl version OpenSSL 1.1.1 11 Sep 2018 I build the OpenSSL myself with the following command ./config make make install
``` C //-------------this is my test.c begin------------------------------------- #include #include "obj_mac.h" #include "rand_drbg.h" #include "ssl.h" #define false 0 #define true 1 /* NIST SP 800-90A DRBG recommends the use of a...
I include realted files in the same path such as: libcrypto.a libcrypto.so libcrypto.so.1.1 libssl.a libssl.so libssl.so.1.1 obj_mac.h rand_drbg.h ssl.h test.c so include file should not be the root cause from...
``` linux:~/mypath/openssl/lib> ll total 11012 -rw------- 1 xufang users 647168 2018-11-21 03:57 core drwxr-xr-x 2 xufang users 4096 2018-11-21 03:55 engines-1.1 -rw-r--r-- 1 xufang users 5484500 2018-11-21 03:55 libcrypto.a lrwxrwxrwx...
@levitte Thanks a lot Can you paste your LD_LIBBRARY_PARH env variable value?