code:builder.BuildAndStart Using ServerBuilder, how do I tell that the port is in use? (C++)

前端 未结 0 1666
攒了一身酷
攒了一身酷 2020-12-04 08:19
    int bound_port=0;
    std::string server_address("0.0.0.0:50051");
    builder.AddListeningPort(server_address, grpc::SslServerCredentials(ssl_options)         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题