Re: [zeromq-dev] looking inside ZMQ queue

2012-07-30 Thread Chuck Remes
On Jul 30, 2012, at 1:48 PM, diffuser78 wrote: > Ok, so once ZMQ sends to transport, zmq removes it from its internal queue. > Is there a way to know when would ZMQ do that ? Or may be build one ? The > customers of my lib want TCP like semantics and I need to tell if the buffer > is copied su

Re: [zeromq-dev] looking inside ZMQ queue

2012-07-30 Thread diffuser78
Ok, so once ZMQ sends to transport, zmq removes it from its internal queue. Is there a way to know when would ZMQ do that ? Or may be build one ? The customers of my lib want TCP like semantics and I need to tell if the buffer is copied successfully to the kernel. Any help on this is greatly appre

Re: [zeromq-dev] looking inside ZMQ queue

2012-07-27 Thread Pieter Hintjens
On Sat, Jul 28, 2012 at 2:26 AM, diffuser78 wrote: > I read the zguide and couldn't find the answer to it. I wanted to know if > there is a deterministic way to find out if a message that I sent has > actually reached the other end. The short answer is that if you need information from the recei

Re: [zeromq-dev] looking inside ZMQ queue

2012-07-27 Thread Bennie Kloosteman
Like most systems ZeroMQ will just send the message to the transport when the transport has received the message ( eg TCP/IP )it is removed from ZeroMQ. There are no guarantees it has even been sent , yet alone that the transport layer on the other side has the message. This is pretty standard TCP

Re: [zeromq-dev] looking inside ZMQ queue

2012-07-27 Thread diffuser78
Sorry about my ignorance and laziness. I read this on the FAQ page: *How do I determine how many messages are in queue?* *This isn't possible. At any given time a message may be in the ØMQ sender queue, the sender's kernel buffer, on the wire, in the receiver's kernel buffer or in the receiver's

Re: [zeromq-dev] looking inside ZMQ queue

2012-07-27 Thread Ian Barber
On Fri, Jul 27, 2012 at 6:26 PM, diffuser78 wrote: > What I want to know is that, ZMQ might have returned success upon buffering > the message. But what if message is still in the queue and has not been > delivered to the receiver for some reasons (say slow receiver). Is there a > way I can peek i

[zeromq-dev] looking inside ZMQ queue

2012-07-27 Thread diffuser78
Hi All, I read the zguide and couldn't find the answer to it. I wanted to know if there is a deterministic way to find out if a message that I sent has actually reached the other end. Let me explain the scenario in detail. I am writing a lib (wrapped around ZMQ) for my app. App sends a message M