[zeromq-dev] PUSH/PULL not working in this example

Sam Zaroug s4saz at hotmail.com
Fri May 25 10:01:15 CEST 2012


Hi Folks,


I ve the following client server executables that arent working on my machine (attached)


please, note: 
- replace boost  calls with std::cout if you dont use boost in your dev env.


the reciever seems to wait forever, and the sender exit without waiting for the message being processed.
if you uncomment the _sleep(1) on the sending side things works just fine.


I wondering if there is any logical explanation to this simple senario?




Kind Regards


Brownviper1966






 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120525/07728a84/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: send.cpp
Type: application/octet-stream
Size: 842 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120525/07728a84/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: receive.cpp
Type: application/octet-stream
Size: 1015 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120525/07728a84/attachment-0001.obj>


More information about the zeromq-dev mailing list