[zeromq-dev] status of zguide C++ examples

John Langley digerat at gmail.com
Tue Jul 16 20:17:38 CEST 2013


Hi, I'm new to the list and interested in using zeromq from C++.

In order to learn about zmq, I'm reading the guide and following along
running the C++ examples using a locally built and installed version of
3.2.3 and local examples from the zguide (git cloned) on ubuntu 10.4.

However, in running the "Service-Oriented Reliable Queueing Majordomo"
examples (mdbroker, mdworker, mdclient and mdclient2) I'm running into a
failure. (It's possible that this error shows up "earlier" in the examples
too).

Starting the broker first I get:
jlangley at puck:$ ./mdbroker -v
13-07-16 14:13:20 I: MDP broker/0.1.1 is active at tcp://*:5555

Then, in another command window I start the worker and get
jlangley at puck:$ ./mdworker -v
13-07-16 14:14:06 I: connecting to broker at tcp://localhost:5555...
13-07-16 14:14:06 I: sending READY to broker
--------------------------------------
[000]
[006] MDPW01
[001] 01
[004] echo

which results in the following being printed to the terminal I started the
broker in
^[w13-07-16 14:14:06 I: received message:
--------------------------------------
[000]
[000]
[006] MDPW01
[001] 01
[004] echo
mdbroker: mdbroker.cpp:233: worker* broker::worker_require(std::string):
Assertion `identity.length()!=0' failed.
Aborted
jlangley at puck:$


Any ideas of what might be happening? Or suggestions about what I should do
differently?


I'm running g++
langley at puck:$ g++ --version
g++ (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Thanks in advance, I'm really excited about the potential of zmq in my
application. It meets the requirements very well.

- Langley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130716/f56cbf3b/attachment.htm>


More information about the zeromq-dev mailing list