example of zeromq with protocol buffers
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 9 commits behind joshrotenberg:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
m4
protobuf
src
AUTHORS
COPYING
ChangeLog
INSTALL
Makefile
Makefile.am
Makefile.in
NEWS
README
aclocal.m4
autogen.sh
config.h
config.h.in
config.h.in~
config.log
config.status
configure
configure.ac
libtool
stamp-h1

README

---------------
zmqpbexample

This is just a small example of using Protocol Buffers with ZeroMQ in
C++. I'm using another queue-based system with Protocol Buffers and
wanted to play around with ZeroMQ as an alternative without rewriting
everything right away, and figured this example might be useful to
someone else as well.


This example produces a small library for a server class, and a binary
that runs the server and acts as a client, so it is completely self
contained, i.e. running the zmqpbexample is all you need to do to see
it in action. Obviously, the code itself is more interesting than
running it, but this setup makes it easier to test.


Dependencies:

* ZeroMQ - http://www.zeromq.org/
* Protocol Buffers - http://code.google.com/apis/protocolbuffers/

Build:

bash$ ./configure
bash$ make

Run:

bash$ ./src/zmqpbexample