Now I have a c / s program with protocol buffers (using C ++). I want to rewrite the server using c. But there are many services in the .proto file. The program implements rpc itself, while buffer buffers-c provides another. I want someone to show me how to implement these examples.
service {
rpc foo (what) returns(what);
}
How to write this service while the client is in C ++ and the server in c.
source
share