Reputation: 101150
I'm looking for a rpc over tcp implementation that uses protobuf-net (or any other .net implementation of protobuf).
Any suggestions?
Upvotes: 3
Views: 3464
Reputation: 10513
For a different RPC implementation that supports protobuf-net, have a look at protobuf-remote. It supports both C++ (using the official implementation) and C# (using protobuf-net). Communication is done using TCP.
I have used it myself to connect from a C# client to a C++ server, and send Proto messages.
Upvotes: 1
Reputation: 1062965
protobuf (under any implementation) is not an RPC stack; it is a serialization stack. You can, however, use WCF to provide the RPC, but hook protobuf-net as the serialization layer inside WCF. That do?
I have a bespoke RPC layer using http, but I haven't implemented one for TCP, and I haven't looked at callbacks. WCF provides these built in, so maybe that is worth looking at?
Upvotes: 3