does the grpc create channel or send will set the errno ? On Wednesday, July 31, 2019 at 10:53:04 PM UTC+5:30, Lidi Zheng wrote: > > 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/62c4942e-a332-4d6c-84e5-fbdac5d4fc2f%40googlegroups.com.
