MCPcopy Create free account
hub / github.com/AlexInLog/ReactivePlusPlus / main

Function main

src/examples/rppgrpc/communication/server.cpp:53–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51};
52
53int main()
54{
55 Service service{};
56 grpc::ServerBuilder builder{};
57
58 std::string server_address("localhost:50051");
59
60 builder.AddListeningPort(server_address, grpc::InsecureServerCredentials());
61 builder.RegisterService(&service);
62
63 auto server(builder.BuildAndStart());
64 std::cout << "Server listening on " << server_address << std::endl;
65 server->Wait();
66
67 return 0;
68}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected