On 05/15/2011 05:19 AM, Steven McCoy wrote:

> If you're doing it right, it is all zero copy so all the buffers should
> be in ZeroMQ or the application.

Aha. So there's a callback notifying the application that the data were 
already sent. The application is then responsible for deallocating the 
buffer. Right?

In such case I would recommend taking care of having at most one send() 
per connection on the fly.

That way the pending mesages are owned by 0MQ (meaning that HWM is 
properly observed) rather than by IOCP.

Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to