[zeromq-dev] "Hello world" example crashes on 3.2.0
Lev Borovoi
Lev at visionmap.com
Mon Jul 9 09:49:12 CEST 2012
Hi
I tried to run the "Hello world" server source (see http://zguide.zeromq.org/page:all#toc5). Since I want to use 0mq 3.2.0 rather than 2.2.0, I replaced zmq_recv by zmq_recvmsg and zmq_send by zmq_sendmsg. However, when I start the client, the server crashes with this message:
Assertion failed: (msg_->flags () & msg_t::identity) == 0 (..\..\..\src\router.cpp:222)
Since I'm running this on Windows, I also replaced sleep(1) with Sleep(1000).
What am I doing wrong and how should I fix it?
This email and any files transmitted with it are confidential and contain proprietary information belonging to VisionMap Ltd. VisionMap Ltd. asserts in respect of this email and any files transmitted with it all rights for confidentiality and proprietary interests to the fullest extent permitted by law. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120709/b64254cb/attachment.htm>
More information about the zeromq-dev
mailing list