[zeromq-dev] Messages not delivered
Arun Dobriyal
arundobriyaliitkgp at gmail.com
Mon May 28 13:17:08 CEST 2012
Hi,
First let's start with the basics...
>
> - 0MQ version and which language binding you are using if any, along with
> respective version numbers.
> - Operating systems involved.
>
>
i am using the C library libzmq version 2.2.0... on ubuntu 10.10
> Now in 0MQ you could send messages in two ways, either you send a message
> asynchronously or synchronously, in the former case if you pushed 10
> messages in
> the asynchronous queue without blocking on the send() operation, it is very
> likely that you terminated the client before some messages hit the wire. A
> good
> indicator for this phenomenon is that you receive what seems to be a random
> number of messages at the receivers end sporadically over the number of
> client runs.
>
> Also code snippets would help clarify the problem.
>
>
The code snipper for the client and server is attached in this pastebin
page..
for server: http://pastebin.com/0nxBEhnK
for client: http://pastebin.com/2xJxZqnu
Thanks
Arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120528/52d812f8/attachment.htm>
More information about the zeromq-dev
mailing list