The message is received. The code you provide didn't show how the "errno" 
is assigned.
Please refer to 
https://github.com/grpc/grpc/tree/master/examples/cpp/helloworld to see how 
to build a gRPC application.

On Tuesday, July 30, 2019 at 10:27:08 PM UTC-7, [email protected] wrote:
>
>
> helloworld]# ./greeter_client
> Error no 11, error string Resource temporarily unavailableGreeter 
> received: Hello world
> helloworld]#
>   GreeterClient greeter(grpc::CreateChannel(
>       "localhost:50051", grpc::InsecureChannelCredentials()));
>   std::string user("world");
>   std::string reply = greeter.SayHello(user);
>   printf("Error no %d, error string %s", errno, strerror(errno));
>   std::cout << "Greeter received: " << reply << std::endl;
>
> Is this expected behavior ?
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/81c76504-4bd4-43a4-8353-106ca7f47e89%40googlegroups.com.

Reply via email to