On Thu, Oct 11, 2012 at 11:29 PM, Merijn Verstraaten
<[email protected]> wrote:

> I'm trying to achieve the same effect using ZeroMQ, but I'm not sure whether 
> this is actually possible. As far as I can tell from the manual pages closing 
> a socket will cause messages that are in-transit to be lost

No, this isn't true (it used to be). A socket will "linger" during
close until messages are all sent. This can wait forever in some cases
so we tend to force linger to 1 second or so.

I'm kind of unclear how your fork/exec mechanism works in TCP at all.
You have two processes both bound to the same endpoint? Messages from
clients go to both instances, or one?

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

Reply via email to