The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Donna Dionne ca8ba90292 Adding Proto Reflection and Health Check to basic C++ example server 5 years ago
..
compression get rid of the https://grpc.io/release plague 5 years ago
helloworld Adding Proto Reflection and Health Check to basic C++ example server 5 years ago
keyvaluestore Reviewer comments 6 years ago
load_balancing get rid of the https://grpc.io/release plague 5 years ago
metadata get rid of the https://grpc.io/release plague 5 years ago
route_guide Link against pthread in examples 6 years ago
README.md overhaul of top-level .md files 7 years ago
cpptutorial.md overhaul of top-level .md files 7 years ago

README.md

gRPC in 3 minutes (C++)

Installation

To install gRPC on your system, follow the instructions to build from source here. This also installs the protocol buffer compiler protoc (if you don't have it already), and the C++ gRPC plugin for protoc.

Hello C++ gRPC!

Here's how to build and run the C++ implementation of the Hello World example used in Getting started.

Client and server implementations

The client implementation is at greeter_client.cc.

The server implementation is at greeter_server.cc.

Try it!

Build client and server:

$ make

Run the server, which will listen on port 50051:

$ ./greeter_server

Run the client (in a different terminal):

$ ./greeter_client

If things go smoothly, you will see the "Greeter received: Hello world" in the client side output.

Tutorial

You can find a more detailed tutorial in gRPC Basics: C++