[zeromq-dev] Problem trying to use zeromq with google protocol buffers over a network

David Dawson david.dawson at tplogic.com
Wed Aug 25 21:34:48 CEST 2010


Oh! I didn't realize that was required. It works now, thank you!

On Wed, Aug 25, 2010 at 12:23 PM, Jon Dyte <jon at totient.co.uk> wrote:

> David Dawson wrote:
> > Hi,
> >
> > I am trying to create an implementation of zeromq using Google Protocol
> > Buffers. I followed the Hello World example and used that as a template
> for
> > a similar version using Google Protocol Buffers. Everything worked fine
> > locally, but when I tried it over a network, the server never receives
> any
> > messages. I used a network analyzer and confirmed that messages were
> indeed
> > being received and sent as they should, so I am not sure what is
> happening.
> > Here are the pastebins:
> >
> > This is the client application: http://paste.pocoo.org/show/254392/
> >
> > This is the server application: http://paste.pocoo.org/show/254393/
> >
> >
>
> as you are using req-rep sockets, then the server side will need to do a
> recv and a send call
> and the client side send then recv?
>
> for the REQ-REP sockets the send/recv is synchronous and has to happen
> in lock step fashion.
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100825/6775a564/attachment.htm>


More information about the zeromq-dev mailing list