I have a program written in C and want to include gRPC in it. However, the API for gRPC is written in C++.
I've looked here and got the foo_client and foo_server working. https://github.com/Juniper/grpc-c/tree/master/examples
However, the C client is not compatible with my gRPC C++ server. They will not talk to each other. I believe it is because I am using the lates gRPC which uses protocbuf version 3.2.0. And Juniper's grpc-c is using an older version of gRPC that uses protocbuf version 3.0.0.
So the Juniper version in C doesn't seem to work with the new gRPC. I know the gRPC low level C API is supposed to be here: https://github.com/grpc/grpc/blob/master/include/grpc/grpc.h But I'm having difficulty implementing it. Can anyone help me make sense of it?
I haven't programmed in C in awhile so I'm a little rusty.