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.
 
 
 
 
 
 
Nathan Baulch b2a05bebe0 [maintenance] Fix cpp typos (#37755) 2 months ago
..
BUILD [example] Move unix abstract domain sockets example (#33220) 2 years ago
README.md [maintenance] Fix cpp typos (#37755) 2 months ago
client.cc [clang-format] Remove custom clang-format rules for include ordering (#37820) 2 months ago
server.cc [clang-format] Remove custom clang-format rules for include ordering (#37820) 2 months ago

README.md

gRPC Unix Abstract Socket Example

This example shows how to use gRPC with Unix domain sockets in the abstract namespace. gRPC uses the unix-abstract:abstract_path URI scheme to support this. In this example, a socket with an embedded null character grpc%00abstract is created.

Build and run the example

Run bazel run :server in one terminal, and bazel run :client in another.

The client and server will confirm that a message was sent and received on both ends. The server will continue running until it is shut down. While the server is still running, you can confirm that a unix domain socket is in use by running lsof -U | grep '@grpc@abstract'.