+protobuf mailing list

This is a bit outside the scope of protocol buffers - the core library does
not provide any such functionality. I am personally not that familiar with
their usage, but I don't see any technical limitations to using protocol
buffers with shared memory. It would be a bit trickier as you may have to
deal with concurrency issues, ensure that the shared memory segment is large
enough to hold the serialized protos, and maybe manage reuse of the shared
memory segment. But given a sufficiently large piece of shared memory you
could just use SerializeToArray/ParseFromArray to write and read the data.

On Wed, Mar 24, 2010 at 6:58 PM, yh zhang <yuanhaizh...@gmail.com> wrote:

> Dear Protocol Buffer owners,
>        Sorry for interuption.
>        Now looking into Protocol Buffer and I have some questions about it.
>        Can you tell me if there is way to communicate between server and
> client without using socket in PB? Is there a way to use shared memory to
> communicate between two process based on PB?
>        Thanks very much. I am looking forward to hearing from you.
> Best Regards,
> Yuanhai Zhang

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to