Skip to content

Latest commit

 

History

History

README.md

gRPC C++ Async Hello World Example

You can find a complete set of instructions for building gRPC and running the Hello World app in the C++ Quick Start.

Build Instructions

mkdir -p cmake/build
pushd cmake/build
cmake -DCMAKE_PREFIX_PATH=$MY_INSTALL_DIR ../..
make -j 4

Try it!

Run the example from the build directory (cmake/build):

Run the async server:

./greeter_async_server
Server listening on 0.0.0.0:50051

From a different terminal, run the async client and see the client output:

./greeter_async_client
Greeter received: Hello world