[zeromq-dev] zguide-master/examples/C++/identity hangs

Jeff Franks jfranks at egcircuits.com
Tue Feb 12 16:00:54 CET 2013


The identity example in zguide works differently for C and C++ bindings.
This does not seem like the expected behavior. Is there a fix?

Ubuntu 10.04 LTS
Zeromq-3.2.2
Zguide-master.zip (fresh)

Zguide-master/examples/C/identity                      works okay
Zguide-master/examples/C++/identity                 hangs

Examples:

C++ binding example hangs

jfranks at egc-010-B:~/Downloads/zguide-master/examples/C++$ ./identity
----------------------------------------
[005]006bffffff8b4567
[000]
[01c]ROUTER uses a generated UUID

C binding example works according to the guide

jfranks at egc-010-B:~/Downloads/zguide-master/examples/C$ ./identity
----------------------------------------
[005] 006B8B4567
[000]
[028] ROUTER uses a generated UUID
----------------------------------------
[005] PEER2
[000]
[040] ROUTER socket uses REQ's socket identity
jfranks at egc-010-B:~/Downloads/zguide-master/examples/C$
________________________________

No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com>
Version: 2012.0.2238 / Virus Database: 2639/5599 - Release Date: 02/12/13
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130212/0ea0bb44/attachment.html>


More information about the zeromq-dev mailing list