Sorry, the "official" Google-maintained protobuf release does not include C# support. There are a couple well-supported third-party C# implementations here:
http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns To send a request to another OS, you just serialize the message to bytes, send the bytes over the network, and then parse the bytes on the other end. I don't know of any code samples showing specifically this with protocol buffers, but there are samples showing how to convert a protocol buffer to bytes and there are many examples on the internet showing how to send bytes over the network. On Tue, Feb 9, 2010 at 8:48 PM, Kartik Iyer <[email protected]> wrote: > Thank Kenton. > > This tutorial only has C++,Java and Python examples, I want to look at a > .NET (C#) example, client sending request to another OS. > > > On Wed, Feb 10, 2010 at 10:08 AM, Kenton Varda <[email protected]> wrote: > >> >> >> On Tue, Feb 9, 2010 at 8:32 PM, Kartik Iyer <[email protected]>wrote: >> >>> My requirement : >>> >>> I have a .NET client( Windows) and my server is a C++ server running >>> on Unix (listening on a port). >>> >>> Wanted to understand if I can use protocol buffers to transport the >>> requests from client to server by serializing and de-serializing the >>> business objects (entities) across different OS layers. >>> >> >> Yes, that is exactly what protocol buffers do. >> >> >>> Would be helpful and grateful if there is any sample code that would >>> demonstrate this usage of protocol buffers. >>> >> >> http://code.google.com/apis/protocolbuffers/docs/tutorials.html >> >> >>> >>> Thanks and regards, >>> Kartik >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Protocol Buffers" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]<protobuf%[email protected]> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/protobuf?hl=en. >>> >>> >> > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
