On Wed, Mar 19, 2014 at 7:13 PM, Carlos Konstanski
<[email protected]> wrote:

> In real life, would I call WITH-CONTEXT...WITH-SOCKET every time I
> wanted to send a message, or would I open a socket once and keep it
> around as a singleton for the lifetime of the application?

You'd keep the socket open as long as the application was running,
unless there are explicit reasons to close it and reopen it.

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

Reply via email to