Protocol buffer works on serialization/deserialization and you can write the bytes to any outputstream and read it from any inputstream. If you have two machines & have a webserver hosted, you can get a outputstream from http url connection (which is pointing to the destination) in the source machine and you can write the bytes to that. And on webserver, you can have a servlet & read the bytes from the inputstream that you get from HttpRequest object.
Regagrds, Prakash On Oct 18, 2:28 pm, Simeon Mitev <[email protected]> wrote: > I might be wrong but I thing that protobuf does not implement any > networking at all. Think about it as a framework for extend-able in time > custom protocols implementation. It can serialize and deserialize > objects by predefined by you structure. That's all. > > Of course, protobuf can be used for networking. Talking about networking > do not limit us to certain platform. Protobuf is what you need to > prepare the objects to be transmitted and later on rebuild them on the > other side of the wire but the networking implementation itself is > delegated to you. > > I think this is the main implementation ever meant. > > On 10/18/10 10:38 AM, nit wrote: > > > > > can protocol buffer can be used to communicate across different > > platforms and across 2 different machines. > > I mean to say : if i generate a .proto file in one machine and send it > > to another machine and retrieve the data on another machine? > > IS IT POSSIBLE? > > if yes can you let me know where is that piece of code where we will > > give IP address of destination machine which can be given in Source > > machine?- Hide quoted text - > > - Show quoted text - -- 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.
